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
2021-11-08 12:28:11 +01:00

22 lines
733 B
YAML

---
- name: run optional versionscheck
ansible.builtin.include_tasks: versioncheck.yml
when: submodules_versioncheck|bool
- name: register variables
ansible.builtin.import_tasks: variables.yml
- name: ensure i3 packages are installed [Debian]
ansible.builtin.include_tasks: setup-Debian.yml
when: ansible_os_family == 'Debian'
- name: ensure i3 packages are installed [Archlinux}
ansible.builtin.include_tasks: setup-Archlinux.yml
when: ansible_os_family == 'Archlinux'
- name: ensure i3 packages are installed [RHEL].
ansible.builtin.include_tasks: setup-RedHat.yml
when: ansible_os_family == 'Fedora' or ansible_os_family == 'RedHat'
- name: create i3 config file
ansible.builtin.include_tasks: config.yml