More changes for pattos. Move zypper and put facts on top of files.
This commit is contained in:
parent
3876e76a72
commit
15d191e1c6
@ -2,6 +2,12 @@
|
|||||||
# Define program names for package builtin.
|
# Define program names for package builtin.
|
||||||
# This file is for ALL systems and should not include UI components.
|
# 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
|
- name: General | Facts | Package | apt
|
||||||
set_fact:
|
set_fact:
|
||||||
sshfs: sshfs
|
sshfs: sshfs
|
||||||
@ -25,17 +31,3 @@
|
|||||||
opensshd: htop # sshd comes installed on FreeBSD
|
opensshd: htop # sshd comes installed on FreeBSD
|
||||||
when: ansible_system == "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"
|
|
||||||
|
|
||||||
|
@ -2,6 +2,12 @@
|
|||||||
# Define program names per OS for package builtin.
|
# Define program names per OS for package builtin.
|
||||||
# This is only for Workstation devices with UIs.
|
# This is only for Workstation devices with UIs.
|
||||||
|
|
||||||
|
- name: Workstation | Facts | Packages | Parrot OS Zypper Fix
|
||||||
|
set_fact:
|
||||||
|
ansible_pkg_mgr: "apt"
|
||||||
|
when: ansible_distribution == "Parrot OS"
|
||||||
|
|
||||||
|
|
||||||
- name: Workstation | Facts | Package | Consistent
|
- name: Workstation | Facts | Package | Consistent
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox
|
firefox: firefox
|
||||||
@ -45,6 +51,14 @@
|
|||||||
when: ansible_distribution == "Linux Mint"
|
when: ansible_distribution == "Linux Mint"
|
||||||
|
|
||||||
|
|
||||||
|
- name: Workstation | Facts | Package | Parrot OS
|
||||||
|
set_fact:
|
||||||
|
flatpak_distro: true
|
||||||
|
firefox_esr: firefox-esr
|
||||||
|
psutil: python3-psutil
|
||||||
|
when: ansible_distribution == "Parrot OS"
|
||||||
|
|
||||||
|
|
||||||
- name: Workstation | Facts | Package | Arch + Manjaro
|
- name: Workstation | Facts | Package | Arch + Manjaro
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: true
|
flatpak_distro: true
|
||||||
@ -61,8 +75,3 @@
|
|||||||
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"
|
|
||||||
|
@ -1,6 +1,14 @@
|
|||||||
---
|
---
|
||||||
# Cross-platform package management.
|
# 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)
|
- name: General | Software | Packages | Cache Refresh (Apt and Pacman)
|
||||||
package:
|
package:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user