aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/pacman/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pacman/tasks/main.yml')
-rw-r--r--roles/pacman/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/pacman/tasks/main.yml b/roles/pacman/tasks/main.yml
index a235d7d..dad1148 100644
--- a/roles/pacman/tasks/main.yml
+++ b/roles/pacman/tasks/main.yml
@@ -8,3 +8,10 @@
- name: Reboot if necessary
ansible.builtin.meta: flush_handlers
+
+- name: Install packages
+ become: true
+ community.general.pacman:
+ name: '{{ pacman_packages }}'
+ state: present
+ when: pacman_packages | length > 0