net iface config templating and decouple resolvconf from NM

This commit is contained in:
doteast 2016-02-04 03:48:01 +00:00
parent 2b98197025
commit bd13e567f2
3 changed files with 73 additions and 0 deletions

View file

@ -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 }}"