main
Micke Nordin 12 months ago
parent b9b78abb03
commit 4a9724cfb1
Signed by: micke
GPG Key ID: 0DA0A7A5708FE257

@ -1,8 +1,5 @@
--- ---
- name: Set up env - name: Set up env
vars:
XDG_DATA_DIRS: /usr/local/share/:/usr/share/
TZ: Europe/Stockholm
hosts: localhost hosts: localhost
connection: local connection: local
become: false become: false
@ -11,11 +8,10 @@
become: true become: true
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /etc/environment path: /etc/environment
regex: ^XDG_DATA_DIRS= regex: ^{{ item.key }}=
line: XDG_DATA_DIRS={{ XDG_DATA_DIRS }} line: '{{ item.key }}={{ item.value }}'
- name: Set up TZ with_items:
become: true - {key: MOZ_ENABLE_WAYLAND, value: 1}
ansible.builtin.lineinfile: - {key: SAL_USE_VCLPLUGIN, value: gtk3}
path: /etc/environment - {key: TZ, value: Europe/Stockholm}
regex: ^TZ= - {key: XDG_DATA_DIRS, value: /usr/local/share/:/usr/share/}
line: TZ={{ TZ }}

Loading…
Cancel
Save