mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
25 lines
818 B
YAML
25 lines
818 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
|
|
loop: "{{ i3wm_user_list | flatten(1) }}"
|
|
loop_control:
|
|
loop_var: i3wm_usr
|