Stop NetworkManager on centos 9.
Change-Id: I68d5f31282c9dac5e17784558d57fd00530a8fc7
This commit is contained in:
parent
5994b3682d
commit
7be9c847a1
@ -34,6 +34,17 @@
|
||||
- ansible_facts['os_family'] == 'RedHat'
|
||||
- firewalld_check.rc == 0
|
||||
|
||||
- name: Disable NetworkManager
|
||||
become: True
|
||||
service:
|
||||
name: NetworkManager
|
||||
state: stopped
|
||||
enabled: no
|
||||
masked: yes
|
||||
when:
|
||||
- ansible_facts['os_family'] == 'RedHat'
|
||||
- ansible_facts['distribution_major_version'] == '9'
|
||||
|
||||
- name: Run the systemd-networkd role
|
||||
include_role:
|
||||
name: systemd_networkd
|
||||
|
Loading…
x
Reference in New Issue
Block a user