Try overwriting the Ansible collected fact 'ansible_pkg_mgr' when using Parrot OS.
This commit is contained in:
parent
2027618d5f
commit
d59ee939a4
@ -7,7 +7,7 @@
|
|||||||
sshfs: sshfs
|
sshfs: sshfs
|
||||||
locate: locate
|
locate: locate
|
||||||
opensshd: openssh-server
|
opensshd: openssh-server
|
||||||
when: ansible_pkg_mgr = "apt"
|
when: ansible_pkg_mgr == "apt"
|
||||||
|
|
||||||
|
|
||||||
- name: General | Facts | Package | pacman
|
- name: General | Facts | Package | pacman
|
||||||
@ -24,3 +24,10 @@
|
|||||||
locate: htop # Placeholder to prevent errors, locate built into FreeBSD.
|
locate: htop # Placeholder to prevent errors, locate built into FreeBSD.
|
||||||
opensshd: htop # sshd comes installed on FreeBSD
|
opensshd: htop # sshd comes installed on FreeBSD
|
||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
|
||||||
|
|
||||||
|
- name: General | Facts | Packages | Parrot OS Zypper Fix
|
||||||
|
set_fact:
|
||||||
|
ansible_pkg_mgr: "apt"
|
||||||
|
when: ansible_distribution == "Parrot OS"
|
||||||
|
|
||||||
|
@ -60,3 +60,9 @@
|
|||||||
firefox_esr: firefox-esr
|
firefox_esr: firefox-esr
|
||||||
psutil: py37-psutil
|
psutil: py37-psutil
|
||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
|
||||||
|
|
||||||
|
- name: Workstation | Facts | Packages | Parrot OS Zypper Fix
|
||||||
|
set_fact:
|
||||||
|
ansible_pkg_mgr: "apt"
|
||||||
|
when: ansible_distribution = "Parrot OS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user