added archlinux support to package upgrades roles

This commit is contained in:
Radar231 2022-05-09 07:41:40 -04:00
parent 18063ebd8f
commit 196044c156
1 changed files with 6 additions and 0 deletions

View File

@ -27,4 +27,10 @@
cmd: /usr/bin/apt -y --purge remove $(dpkg -l | grep "^rc " | sed 's/ \+/ /g' | cut -d ' ' -f2)
when: ansible_os_family == "Debian"
- name: Upgraded packages (Arch based distros)
pacman:
update_cache: true
upgrade: true
when: ansible_os_family == "Archlinux"
# EOF