net iface config templating and decouple resolvconf from NM
This commit is contained in:
parent
2b98197025
commit
bd13e567f2
3 changed files with 73 additions and 0 deletions
|
@ -201,3 +201,15 @@
|
|||
|
||||
- name: restart mirrorlist-server
|
||||
service: name=mirrorlist-server state=restarted
|
||||
|
||||
- name: restart NetworkManager
|
||||
service: name=NetworkManager state=restarted
|
||||
|
||||
- name: reload NetworkManager
|
||||
command: nmcli c reload
|
||||
|
||||
- name: apply interface-changes
|
||||
command: nmcli con up {{ item.split()[1] }}
|
||||
with_items:
|
||||
- "{{ if_uuid.stdout_lines }}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue