Fix host DNS config 1) being edited too soon and 2) not working with NM (#8575)

Signed-off-by: Mac Chaffee <me@macchaffee.com>
This commit is contained in:
Mac Chaffee
2022-02-26 13:29:23 -05:00
committed by GitHub
parent 6d683c98a3
commit b554246502
10 changed files with 46 additions and 30 deletions

View File

@@ -25,7 +25,7 @@
- dns_mode != 'none'
- resolvconf_mode == 'host_resolvconf'
- systemd_resolved_enabled.rc != 0
- not is_fedora_coreos
- networkmanager_enabled.rc != 0
tags:
- bootstrap-os
- resolvconf
@@ -40,6 +40,8 @@
- resolvconf
- import_tasks: 0062-networkmanager-unmanaged-devices.yml
when:
- networkmanager_enabled.rc == 0
tags:
- bootstrap-os
@@ -47,7 +49,7 @@
when:
- dns_mode != 'none'
- resolvconf_mode == 'host_resolvconf'
- is_fedora_coreos
- networkmanager_enabled.rc == 0
tags:
- bootstrap-os
- resolvconf