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