mirror of
https://gitea.0xace.cc/ansible-galaxy/network.git
synced 2025-06-29 02:53:07 +00:00
update
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
---
|
||||
- name: Up interface
|
||||
shell: |
|
||||
ifdown {{ item.name }} ; ifup {{ item.name }}
|
||||
loop: "{{ network.network_scripts.iface }}"
|
||||
ifdown {{ item }} ; ifup {{ item }}
|
||||
loop: "{{ reload_interfaces | unique }}"
|
||||
|
||||
- name: Reload interface with nmcli
|
||||
command: nmcli conn up {{ item.conn_name }}
|
||||
loop: "{{ network.network_manager.iface }}"
|
||||
command: nmcli conn up {{ item }}
|
||||
loop: "{{ reload_interfaces | unique }}"
|
||||
|
Reference in New Issue
Block a user