Add the resolv.conf tasks to the ifcfg tag for now, as we want to make sure and do them at the same time.
This commit is contained in:
parent
7cac215874
commit
18f920701a
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
- config
|
- config
|
||||||
- resolvconf
|
- resolvconf
|
||||||
- base
|
- base
|
||||||
|
- ifcfg
|
||||||
|
|
||||||
- name: disable resolv.conf control from NM
|
- name: disable resolv.conf control from NM
|
||||||
ini_file: dest=/etc/NetworkManager/NetworkManager.conf section=main option=dns value=none
|
ini_file: dest=/etc/NetworkManager/NetworkManager.conf section=main option=dns value=none
|
||||||
|
@ -28,6 +29,7 @@
|
||||||
- config
|
- config
|
||||||
- resolvconf
|
- resolvconf
|
||||||
- base
|
- base
|
||||||
|
- ifcfg
|
||||||
|
|
||||||
- name: get interface uuid
|
- name: get interface uuid
|
||||||
shell: nmcli -f "DEVICE,UUID" c show --active | grep -E '^eth|^br'
|
shell: nmcli -f "DEVICE,UUID" c show --active | grep -E '^eth|^br'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue