Fix disabling NetworkManager DNS management on Rocky Linux 10
Change-Id: I9e968eb26747d690f1dd0cf138497311e9360cff Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
- option: rc-manager
|
||||
value: unmanaged
|
||||
when:
|
||||
- ansible_facts.os_family == "RedHat" and ansible_facts.distribution_major_version == "9"
|
||||
- ansible_facts.os_family == "RedHat" and ansible_facts.distribution_major_version | int >= 9
|
||||
register: dns_config_task
|
||||
|
||||
- name: Reload NetworkManager with DNS config
|
||||
|
Reference in New Issue
Block a user