network/tasks/RedHat/8.yaml
2021-10-27 00:34:13 +03:00

16 lines
385 B
YAML

---
- block:
- name: Install network scripts
package:
name: network-scripts
state: present
- include_tasks: network_scripts.yaml
when: network.network_scripts is defined
- name: Configure interfaces and routes with nmcli
include: network_manager.yaml iface={{ item }}
when: network.network_manager is defined
loop: "{{ network.network_manager.iface }}"