Skip to content
Snippets Groups Projects
Commit 2fbd03db authored by Maxime Bombar's avatar Maxime Bombar
Browse files

Merge branch 'network-interfaces' into 'newinfra'

Enable configuring network interfaces

See merge request !187
parents cbcbce11 854f483a
No related branches found
No related tags found
1 merge request!187Enable configuring network interfaces
---
interfaces:
adm: eth0
srv: eth1
postfix:
primary: true
secondary: false
......
#!/usr/bin/env ansible-playbook
---
- hosts: voyager.adm.crans.org,boeing.adm.crans.org,fluxx.adm.crans.org,hodaur.adm.crans.org,unifi.adm.crans.org,kiwi.adm.crans.org,roundcube.adm.crans.org,monitoring.adm.crans.org,bigbluebutton.adm.crans.org,codichotomie.adm.crans.org,kiwijuice.adm.crans.org,owl.adm.crans.org,zephir.adm.crans.org,re2o.adm.crans.org
- hosts: crans_server
vars:
vlan:
- name: srv
......
......@@ -14,6 +14,11 @@
dest: /etc/network/interfaces
mode: 0644
- name: Remove cloud-init interface configuration
file:
path: /etc/network/interfaces.d/50-cloud-init
state: absent
- name: Deploy interfaces config
template:
src: "network/interfaces.d/ifalias.j2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment