network/handlers/main.yml

10 lines
236 B
YAML
Raw Normal View History

2021-10-26 21:34:13 +00:00
---
- 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 }}"