ansible-role-network/molecule/default/converge.yml
2021-08-24 19:53:34 +02:00

22 lines
443 B
YAML

---
- name: Converge
hosts: all
become: true
roles:
- ansible-role-network
vars:
network_interfaces:
eth0:
address: 192.168.1.10
netmask: 255.255.255.0
gateway: 192.168.1.1
routes:
- subnet: 10.0.0.0/24
gateway: 192.168.1.50
eth1:
dhcp: true
network_hosts:
test.local: 127.0.0.1
network_search_domains:
- company.loc
- cie.loc