More changes for pattos. Move zypper and put facts on top of files.

This commit is contained in:
2021-07-11 08:27:00 -05:00
parent 3876e76a72
commit 15d191e1c6
3 changed files with 28 additions and 19 deletions

View File

@ -1,6 +1,14 @@
---
# Cross-platform package management.
- name: General | Software | Packages | "Fix" Parrot OS
# They have zypper higher in the path, but it's really apt renamed.
# Probably for "security", but package module does not use the ansible_pkg_mgr variable
# so resetting the value to apt doesn't work. Just going to move it.
shell: mv `which zypper` `which zypper`.zz.`date +%Y%m%d`
when ansible_distribution == "Parrot OS"
- name: General | Software | Packages | Cache Refresh (Apt and Pacman)
package:
update_cache: yes