Code Review
/
ta
/
infra-ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Initial commit
[ta/infra-ansible.git]
/
roles
/
bootstrap-host
/
templates
/
redhat_interface_vlan.cfg.j2
diff --git a/roles/bootstrap-host/templates/redhat_interface_vlan.cfg.j2
b/roles/bootstrap-host/templates/redhat_interface_vlan.cfg.j2
new file mode 100644
(file)
index 0000000..
23cd8a7
--- /dev/null
+++ b/
roles/bootstrap-host/templates/redhat_interface_vlan.cfg.j2
@@ -0,0
+1,9
@@
+DEVICE={{ item.name }}
+TYPE=vlan
+VLAN=yes
+IPADDR={{ item.ip_addr }}
+NETMASK={{ item.netmask }}
+ONBOOT=yes
+BOOTPROTO=none
+NM_CONTROLLED=no
+DELAY=0