missing files
This commit is contained in:
parent
5ca763a72f
commit
30617b19a6
8
host_vars/docker1
Normal file
8
host_vars/docker1
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
mgmt:
|
||||||
|
ip: 192.168.122.31
|
||||||
|
mask: 255.255.255.0
|
||||||
|
gw: 192.168.122.1
|
||||||
|
dns:
|
||||||
|
- 192.168.122.1
|
||||||
|
- 8.8.8.8
|
||||||
|
ansible_host: "{{ mgmt.ip }}"
|
10
roles/virt_vm/templates/ci-networkconfig.j2
Normal file
10
roles/virt_vm/templates/ci-networkconfig.j2
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
version: 2
|
||||||
|
ethernets:
|
||||||
|
eth0:
|
||||||
|
name: eth0
|
||||||
|
set-name: eth0
|
||||||
|
addresses:
|
||||||
|
- {{ mgmt.ip }}/{{ mgmt.mask }}
|
||||||
|
gateway4: {{ mgmt.gw }}
|
||||||
|
nameservers:
|
||||||
|
addresses: {{ mgmt.dns }}
|
Loading…
Reference in New Issue
Block a user