1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_i3wm.git synced 2024-08-16 10:09:53 +02:00
ansible_role_i3wm/tasks/main.yml
2024-07-23 13:32:33 +02:00

27 lines
729 B
YAML

---
- name: Run optional versionscheck
ansible.builtin.include_tasks:
file: "versioncheck.yml"
when: submodules_versioncheck | bool
# - name: Register variables
# ansible.builtin.import_tasks:
# file: variables.yml
- name: Ensure i3 packages are installed [Debian]
ansible.builtin.include_tasks:
file: "setup-Debian.yml"
when: ansible_os_family == 'Debian'
- name: Create sway configuration and features
ansible.builtin.import_tasks:
file: "config.yml"
- name: Create waybar config
ansible.builtin.include_tasks:
file: "waybar.yml"
loop: "{{ sway__user_list | flatten(1) }}"
loop_control:
loop_var: swayusr
label: "{{ swayusr.home }}/.config/waybar/"
when: sway__waybar | bool