stuff
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
name: ['cloud-init', 'modemmanager', 'snapd', 'needrestart']
|
||||
state: absent
|
||||
lock_timeout: 300
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
when: ansible_facts['os_family'] == "Debian" and ansible_facts['virtualization_role'] == "guest"
|
||||
|
||||
- name: Remove orphans
|
||||
apt:
|
||||
@@ -29,7 +29,7 @@
|
||||
replace: 'MODULES=dep'
|
||||
notify:
|
||||
- Make initramfs
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
when: ansible_facts['os_family'] == "Debian" and ansible_facts['virtualization_role'] == "guest"
|
||||
ignore_errors: true # TODO
|
||||
|
||||
- name: Install CentOS epel
|
||||
|
||||
Reference in New Issue
Block a user