added archlinux support to package upgrades roles
This commit is contained in:
parent
18063ebd8f
commit
196044c156
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue