Remove needrestart
This commit is contained in:
parent
bc4aa8aebf
commit
23fd434652
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
- name: Remove Ubuntu packages
|
- name: Remove Ubuntu packages
|
||||||
apt:
|
apt:
|
||||||
name: ['cloud-init', 'modemmanager', 'snapd', 'modemmanager']
|
name: ['cloud-init', 'modemmanager', 'snapd', 'modemmanager', 'needrestart']
|
||||||
state: absent
|
state: absent
|
||||||
when: ansible_facts['os_family'] == "Debian"
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
|
|
||||||
@ -26,6 +26,7 @@
|
|||||||
replace: 'MODULES=dep'
|
replace: 'MODULES=dep'
|
||||||
notify:
|
notify:
|
||||||
- Make initramfs
|
- Make initramfs
|
||||||
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
|
|
||||||
- name: Install CentOS epel
|
- name: Install CentOS epel
|
||||||
yum:
|
yum:
|
||||||
|
Loading…
Reference in New Issue
Block a user