Remove static network_type
This commit is contained in:
parent
e3227716b9
commit
0e31d97bf8
@ -17,6 +17,7 @@
|
|||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- ansible
|
- ansible
|
||||||
|
- base
|
||||||
- docker
|
- docker
|
||||||
- jenkins
|
- jenkins
|
||||||
- prometheus
|
- prometheus
|
||||||
|
@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
- name: Install network interfaces
|
- name: Install network interfaces
|
||||||
template:
|
template:
|
||||||
src: bridged-interface.cfg
|
src: "{{ network_type }}-interface.cfg"
|
||||||
src: {{ network_type }}-interface.cfg
|
|
||||||
dest: /etc/network/interfaces
|
dest: /etc/network/interfaces
|
||||||
notify: reboot_host
|
notify: reboot_host
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user