2017-12-31 00:56:01 +01:00
|
|
|
---
|
2023-05-19 17:07:00 +02:00
|
|
|
- name: Run optional versionscheck
|
2023-10-28 16:25:06 +02:00
|
|
|
ansible.builtin.include_tasks:
|
2024-07-17 15:45:32 +02:00
|
|
|
file: "versioncheck.yml"
|
2023-08-01 22:13:23 +02:00
|
|
|
when: submodules_versioncheck | bool
|
2019-05-29 11:00:13 +02:00
|
|
|
|
2024-07-17 15:45:32 +02:00
|
|
|
# - name: Register variables
|
|
|
|
# ansible.builtin.import_tasks:
|
|
|
|
# file: variables.yml
|
2017-12-31 00:56:01 +01:00
|
|
|
|
2023-05-19 17:07:00 +02:00
|
|
|
- name: Ensure i3 packages are installed [Debian]
|
2023-10-28 16:25:06 +02:00
|
|
|
ansible.builtin.include_tasks:
|
2024-07-17 15:45:32 +02:00
|
|
|
file: "setup-Debian.yml"
|
2017-12-31 00:56:01 +01:00
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
2024-07-23 15:54:25 +02:00
|
|
|
- name: Install wlsunset
|
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
file: "wlsunset.yml"
|
|
|
|
when: sway__wlsunset | bool
|
|
|
|
|
2024-07-17 15:45:32 +02:00
|
|
|
- name: Create sway configuration and features
|
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
file: "config.yml"
|
2018-11-17 22:46:13 +01:00
|
|
|
|
2024-07-22 14:36:03 +02:00
|
|
|
- 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
|