You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
799 B

1 year ago
---
- name: Set up env
vars:
11 months ago
variables:
- key: CLUTTER_BACKEND
value: wayland
- key: QT_QPA_PLATFORM
value: "wayland;xcb"
- key: QT_QPA_PLATFORMTHEME
value: qt5ct
- key: SDL_VIDEODRIVER
value: "wayland,x11"
- key: TZ
value: Europe/Stockholm
- key: XDG_CURRENT_DESKTOP
value: sway
- key: XDG_DATA_DIRS
value: /usr/local/share/:/usr/share/
- key: _JAVA_AWT_WM_NONREPARENTING
value: 1
1 year ago
hosts: localhost
connection: local
become: false
tasks:
11 months ago
- name: Set up environment variables
1 year ago
become: true
ansible.builtin.lineinfile:
path: /etc/environment
11 months ago
regex: ^{{ item.key }}=
line: "{{ item.key }}={{ item.value }}"
loop: "{{ variables }}"