Skip to content
Snippets Groups Projects
Commit ee86afba authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: Set locale (as suggested in ExLibris Case 07844382

parent 53185277
No related branches found
No related tags found
No related merge requests found
Pipeline #8738 passed
......@@ -107,6 +107,10 @@
become: true
when: pki.failed is false
changed_when: false
- name: create .cshrc file
ansible.builtin.file:
path: "/exlibris/dps/.cshrc"
state: touch
roles:
- { role: "ansible_lza_install_common", become: true }
---
- name: add aliases for Rosetta user
- name: Add aliases for Rosetta user.
ansible.builtin.blockinfile:
path: "/exlibris/dps/.cshrc"
marker: "# {mark} ANSIBLE MANAGED BLOCK - SLUB extras"
block: |
alias dps_multitail 'cd $op_dir/logs/; multitail --mergeall sdvlzarosappprod01/server.log sdvlzarosappprod02/server.log sdvlzarosappprod03/server.log'
when: "'prod0' in ansible_hostname"
- name: >
Remove default locale (as suggested in ExLibris case 07844382)
(https://support.proquest.com/500QO00000PNI2fYAH).
ansible.builtin.lineinfile:
path: "/exlibris/dps/.cshrc"
regexp: "{{ item }}"
state: absent
loop:
- "setenv LANG C"
- "setenv LC_ALL C"
- name: >
Set locale (as suggested in ExLibris case 07844382)
(https://support.proquest.com/500QO00000PNI2fYAH).
ansible.builtin.blockinfile:
path: "/exlibris/dps/.cshrc"
marker: "# {mark} ANSIBLE MANAGED BLOCK - SC 07844382"
block: |
setenv LANG en_US.UTF-8
setenv LC_ALL en_US.UTF-8
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment