mirror of
https://gitea.0xace.cc/ansible-galaxy/network.git
synced 2024-11-29 00:26:39 +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 }}"
|