diff --git a/tasks/main.yml b/tasks/main.yml index 2009131..6a31dd5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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' diff --git a/tasks/setup-Archlinux.yml b/tasks/setup-Archlinux.yml new file mode 100644 index 0000000..f232ecc --- /dev/null +++ b/tasks/setup-Archlinux.yml @@ -0,0 +1,7 @@ +--- +- name: ensure i3 packages are installed. + pacman: + name: "{{ i3_packages }}" + state: latest + update_cache: yes + become: true