rename handler for clearity
This commit is contained in:
parent
a2a887dff8
commit
872512c4fa
2 changed files with 2 additions and 2 deletions
|
@ -205,7 +205,7 @@
|
||||||
- name: restart NetworkManager
|
- name: restart NetworkManager
|
||||||
service: name=NetworkManager state=restarted
|
service: name=NetworkManager state=restarted
|
||||||
|
|
||||||
- name: reload NetworkManager
|
- name: reload NetworkManager-connections
|
||||||
command: nmcli c reload
|
command: nmcli c reload
|
||||||
|
|
||||||
- name: apply interface-changes
|
- name: apply interface-changes
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
- "{{ ansible_interfaces }}"
|
- "{{ ansible_interfaces }}"
|
||||||
notify:
|
notify:
|
||||||
# - restart NetworkManager
|
# - restart NetworkManager
|
||||||
- reload NetworkManager
|
- reload NetworkManager-connections
|
||||||
- apply interface-changes
|
- apply interface-changes
|
||||||
when: (virthost is not defined) and (not item.startswith('tun')) and (hostvars[inventory_hostname]['ansible_' + item]['type'] == 'ether') and (ansible_distribution_major_version|int >=7) and hostvars[inventory_hostname]['ansible_' + item]['active']
|
when: (virthost is not defined) and (not item.startswith('tun')) and (hostvars[inventory_hostname]['ansible_' + item]['type'] == 'ether') and (ansible_distribution_major_version|int >=7) and hostvars[inventory_hostname]['ansible_' + item]['active']
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue