1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sway.git synced 2024-08-16 13:49:49 +02:00
ansible_role_sway/tasks/main.yml

36 lines
1 KiB
YAML
Raw Normal View History

2017-12-31 00:56:01 +01:00
---
2023-05-19 17:07:00 +02:00
- name: Run optional versionscheck
ansible.builtin.include_tasks:
2024-07-17 15:45:32 +02:00
file: "versioncheck.yml"
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]
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-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
# - name: Ensure i3 packages are installed [Archlinux}
# ansible.builtin.include_tasks:
# file: setup-Archlinux.yml
# when: ansible_os_family == 'Archlinux'
2024-07-17 15:45:32 +02:00
#
# - name: Ensure i3 packages are installed [RHEL].
# ansible.builtin.include_tasks:
# file: setup-RedHat.yml
# when: ansible_os_family == 'Fedora' or ansible_os_family == 'RedHat'
2018-11-15 15:12:44 +01:00
2024-07-17 15:45:32 +02:00
# - name: Create i3 config file
# ansible.builtin.include_tasks:
# file: config.yml
# loop: "{{ i3wm_user_list | flatten(1) }}"
# loop_control:
# loop_var: i3wm_usr