1
0
Fork 0
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:
L3D 2018-11-17 22:46:13 +01:00
parent 776cf2baa3
commit 354be0a117
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 11 additions and 0 deletions

View file

@ -6,6 +6,10 @@
- include_tasks: setup-Debian.yml
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].
- include_tasks: setup-RedHat.yml
when: ansible_os_family == 'Fedora' or ansible_os_family == 'RedHat'

View file

@ -0,0 +1,7 @@
---
- name: ensure i3 packages are installed.
pacman:
name: "{{ i3_packages }}"
state: latest
update_cache: yes
become: true