mirror of
https://gitea.0xace.cc/ansible-galaxy/network.git
synced 2024-11-28 16:16:40 +00:00
10 lines
236 B
YAML
10 lines
236 B
YAML
---
|
|
- 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 }}"
|