summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-controller/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/config-controller/tasks')
-rw-r--r--deploy/adapters/ansible/roles/config-controller/tasks/RedHat.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/deploy/adapters/ansible/roles/config-controller/tasks/RedHat.yml b/deploy/adapters/ansible/roles/config-controller/tasks/RedHat.yml
index cc14347a..58bc2bf7 100644
--- a/deploy/adapters/ansible/roles/config-controller/tasks/RedHat.yml
+++ b/deploy/adapters/ansible/roles/config-controller/tasks/RedHat.yml
@@ -7,32 +7,30 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
-# yamllint disable rule:line-length
- name: generate tenant vlan ifcfg-if script
template:
src: ifcfg-if.tenant
- dest: /etc/sysconfig/network-scripts/ifcfg-{{contr_sys_mappings["tenant"]["interface"]}}.{{contr_sys_mappings["tenant"]["vlan_tag"]}}
+ dest: /etc/sysconfig/network-scripts/ifcfg-{{ intf_tenant }}
- name: generate storage vlan ifcfg-if script
template:
src: ifcfg-if.storage
- dest: /etc/sysconfig/network-scripts/ifcfg-{{contr_sys_mappings["storage"]["interface"]}}.{{contr_sys_mappings["storage"]["vlan_tag"]}}
+ dest: /etc/sysconfig/network-scripts/ifcfg-{{ intf_storage }}
- name: add br-external to interface script
lineinfile:
- dest: /etc/sysconfig/network-scripts/ifcfg-{{contr_sys_mappings["external"]["interface"]}}
+ dest: /etc/sysconfig/network-scripts/ifcfg-{{ intf_external }}
line: "BRIDGE=br-external"
- name: add br-storage to interface script
lineinfile:
- dest: /etc/sysconfig/network-scripts/ifcfg-{{contr_sys_mappings["storage"]["interface"]}}.{{contr_sys_mappings["storage"]["vlan_tag"]}}
+ dest: /etc/sysconfig/network-scripts/ifcfg-{{ intf_storage }}
line: "BRIDGE=br-storage"
- name: add br-tenant to interface script
lineinfile:
- dest: /etc/sysconfig/network-scripts/ifcfg-{{contr_sys_mappings["tenant"]["interface"]}}.{{contr_sys_mappings["tenant"]["vlan_tag"]}}
+ dest: /etc/sysconfig/network-scripts/ifcfg-{{ intf_tenant }}
line: "BRIDGE=br-tenant"
-# yamllint enable rule:line-length
- name: remove eth0 ip addresss
lineinfile: