Merge "Stop NetworkManager on centos 9."

This commit is contained in:
Zuul 2022-06-17 23:21:39 +00:00 committed by Gerrit Code Review
commit 92e692a0b4

View File

@ -34,6 +34,17 @@
- ansible_facts['os_family'] == 'RedHat' - ansible_facts['os_family'] == 'RedHat'
- firewalld_check.rc == 0 - 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 - name: Run the systemd-networkd role
include_role: include_role:
name: systemd_networkd name: systemd_networkd