Remove/add more pkgs
This commit is contained in:
parent
583f5fee4f
commit
2fd6a9ef20
@ -1,4 +1,4 @@
|
||||
- name: Make initramfs
|
||||
ansible.builtin.command:
|
||||
shell:
|
||||
cmd: update-initramfs -u
|
||||
become: yes
|
||||
|
@ -1,17 +1,24 @@
|
||||
---
|
||||
- name: Install Debian packages
|
||||
apt:
|
||||
name: ['mc', 'htop', 'vim', 'screen', 'tmux', 'curl', 'wget', 'bash-completion', 'tree', 'figlet']
|
||||
name: ['mc', 'htop', 'vim', 'neovim', 'screen', 'tmux', 'curl', 'wget', 'bash-completion', 'tree', 'figlet']
|
||||
state: present
|
||||
update_cache: yes
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
|
||||
|
||||
- name: Remove Ubuntu packages
|
||||
apt:
|
||||
name: ['cloud-init', 'modemmanager', 'snapd']
|
||||
name: ['cloud-init', 'modemmanager', 'snapd', 'modemmanager']
|
||||
state: absent
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
|
||||
- name: Remove orphans
|
||||
apt:
|
||||
autoremove: yes
|
||||
purge: yes
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
|
||||
- name: Less modules in initramfs
|
||||
ansible.builtin.replace:
|
||||
path: /etc/initramfs-tools/initramfs.conf
|
||||
|
Loading…
Reference in New Issue
Block a user