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
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/}

Loading…
Cancel
Save