2017-12-31 00:56:01 +01:00
|
|
|
---
|
2023-05-19 17:07:00 +02:00
|
|
|
- name: Run optional versionscheck
|
2021-11-08 12:28:11 +01:00
|
|
|
ansible.builtin.include_tasks: versioncheck.yml
|
2023-05-19 17:07:00 +02:00
|
|
|
when: submodules_versionchecki | bool
|
2019-05-29 11:00:13 +02:00
|
|
|
|
2023-05-19 17:07:00 +02:00
|
|
|
- name: Register variables
|
2021-11-08 12:28:11 +01:00
|
|
|
ansible.builtin.import_tasks: 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]
|
2021-11-08 12:28:11 +01:00
|
|
|
ansible.builtin.include_tasks: setup-Debian.yml
|
2017-12-31 00:56:01 +01:00
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
2023-05-19 17:07:00 +02:00
|
|
|
- name: Ensure i3 packages are installed [Archlinux}
|
2021-11-08 12:28:11 +01:00
|
|
|
ansible.builtin.include_tasks: setup-Archlinux.yml
|
2018-11-17 22:46:13 +01:00
|
|
|
when: ansible_os_family == 'Archlinux'
|
|
|
|
|
2023-05-19 17:07:00 +02:00
|
|
|
- name: Ensure i3 packages are installed [RHEL].
|
2021-11-08 12:28:11 +01:00
|
|
|
ansible.builtin.include_tasks: setup-RedHat.yml
|
2018-11-15 15:12:44 +01:00
|
|
|
when: ansible_os_family == 'Fedora' or ansible_os_family == 'RedHat'
|
|
|
|
|
2023-05-19 17:07:00 +02:00
|
|
|
- name: Create i3 config file
|
2021-11-08 12:28:11 +01:00
|
|
|
ansible.builtin.include_tasks: config.yml
|