Try overwriting the Ansible collected fact 'ansible_pkg_mgr' when using Parrot OS.

This commit is contained in:
Hyperling 2021-07-11 08:00:03 -05:00
parent 2027618d5f
commit d59ee939a4
2 changed files with 14 additions and 1 deletions

View File

@ -7,7 +7,7 @@
sshfs: sshfs
locate: locate
opensshd: openssh-server
when: ansible_pkg_mgr = "apt"
when: ansible_pkg_mgr == "apt"
- name: General | Facts | Package | pacman
@ -24,3 +24,10 @@
locate: htop # Placeholder to prevent errors, locate built into FreeBSD.
opensshd: htop # sshd comes installed on FreeBSD
when: ansible_system == "FreeBSD"
- name: General | Facts | Packages | Parrot OS Zypper Fix
set_fact:
ansible_pkg_mgr: "apt"
when: ansible_distribution == "Parrot OS"

View File

@ -60,3 +60,9 @@
firefox_esr: firefox-esr
psutil: py37-psutil
when: ansible_system == "FreeBSD"
- name: Workstation | Facts | Packages | Parrot OS Zypper Fix
set_fact:
ansible_pkg_mgr: "apt"
when: ansible_distribution = "Parrot OS"