More changes for pattos. Move zypper and put facts on top of files.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user