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

@ -2,6 +2,12 @@
# Define program names for package builtin.
# This file is for ALL systems and should not include UI components.
- name: General | Facts | Packages | Parrot OS Zypper Fix
set_fact:
ansible_pkg_mgr: "apt"
when: ansible_distribution == "Parrot OS"
- name: General | Facts | Package | apt
set_fact:
sshfs: sshfs
@ -25,17 +31,3 @@
opensshd: htop # sshd comes installed on FreeBSD
when: ansible_system == "FreeBSD"
- debug:
var: ansible_pkg_mgr
when: ansible_distribution == "Parrot OS"
- name: General | Facts | Packages | Parrot OS Zypper Fix
set_fact:
ansible_pkg_mgr: "apt"
when: ansible_distribution == "Parrot OS"
- debug:
var: ansible_pkg_mgr
when: ansible_distribution == "Parrot OS"