mirror of
https://gitea.0xace.cc/ansible-galaxy/network.git
synced 2025-06-28 18:43:08 +00:00
add network
This commit is contained in:
9
handlers/main.yml
Normal file
9
handlers/main.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Up interface
|
||||
shell: |
|
||||
ifup {{ item.name }}
|
||||
loop: "{{ network.network_scripts.iface }}"
|
||||
|
||||
- name: Reload interface with nmcli
|
||||
command: nmcli conn up {{ item.conn_name }}
|
||||
loop: "{{ network.network_manager.iface }}"
|
Reference in New Issue
Block a user