ansible-role-network/molecule/default/converge.yml

23 lines
443 B
YAML
Raw Normal View History

2021-08-24 17:40:28 +00:00
---
- 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