mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
improve arch support
This commit is contained in:
parent
776cf2baa3
commit
354be0a117
2 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,10 @@
|
||||||
- include_tasks: setup-Debian.yml
|
- include_tasks: setup-Debian.yml
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
|
# ensure i3 packages are installed [Archlinux}
|
||||||
|
- include_tasks: setup-ArchLinux.yml
|
||||||
|
when: ansible_os_family == 'Archlinux'
|
||||||
|
|
||||||
# ensure i3 packages are installed [RHEL].
|
# ensure i3 packages are installed [RHEL].
|
||||||
- include_tasks: setup-RedHat.yml
|
- include_tasks: setup-RedHat.yml
|
||||||
when: ansible_os_family == 'Fedora' or ansible_os_family == 'RedHat'
|
when: ansible_os_family == 'Fedora' or ansible_os_family == 'RedHat'
|
||||||
|
|
7
tasks/setup-Archlinux.yml
Normal file
7
tasks/setup-Archlinux.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- name: ensure i3 packages are installed.
|
||||||
|
pacman:
|
||||||
|
name: "{{ i3_packages }}"
|
||||||
|
state: latest
|
||||||
|
update_cache: yes
|
||||||
|
become: true
|
Loading…
Reference in a new issue