chore: split off fedora pkgs + rm default nano
This commit is contained in:
parent
152e88bc77
commit
e7ac3d67c2
@ -12,19 +12,5 @@
|
||||
name: "{{ pkgs_arch }}"
|
||||
when: ansible_distribution == "Archlinux"
|
||||
|
||||
- name: F38 pkgs
|
||||
become: true
|
||||
ansible.builtin.dnf:
|
||||
state: present
|
||||
name: "{{ pkgs_fedora38 }}"
|
||||
when: ansible_distribution == "Fedora"
|
||||
|
||||
- name: Remove cockpit
|
||||
become: true
|
||||
ansible.builtin.dnf:
|
||||
state: absent
|
||||
name:
|
||||
- cockpit
|
||||
- cockpit-bridge
|
||||
- cockpit-ws
|
||||
- include_tasks: pkg_fedora.yml
|
||||
when: ansible_distribution == "Fedora"
|
||||
|
16
ansible/roles/common/tasks/pkg_fedora.yml
Normal file
16
ansible/roles/common/tasks/pkg_fedora.yml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: F38 pkgs
|
||||
become: true
|
||||
ansible.builtin.dnf:
|
||||
state: present
|
||||
name: "{{ pkgs_fedora38 }}"
|
||||
|
||||
- name: Remove unwanted software
|
||||
become: true
|
||||
ansible.builtin.dnf:
|
||||
state: absent
|
||||
name:
|
||||
- cockpit
|
||||
- cockpit-bridge
|
||||
- cockpit-ws
|
||||
- nano-default-editor
|
Loading…
Reference in New Issue
Block a user