Merge "Update supplemental role to paramaterize networking"

This commit is contained in:
Zuul 2019-08-19 21:43:20 +00:00 committed by Gerrit Code Review
commit 2cb77ede81
3 changed files with 4 additions and 1 deletions

View File

@ -37,6 +37,8 @@ supplemental_base_image_url: https://cloud.centos.org/centos/7/images/CentOS-7-x
* `supplemental_user` -- <stack> The user which is used to deploy the supplemental node
* `supplemental_tls_everywhere_dns_server` -- <192.168.23.1> DNS server for eth0 on the supplemental
node hosting the FreeIPA server
* `supplemental_tls_everywhere_gateway` -- <192.168.23.1> Default gateway for eth0 on the supplemental
node hosting the FreeIPA server
Example Playbook
----------------

View File

@ -4,3 +4,4 @@ supplemental_node_key: "{{ local_working_dir }}/id_rsa_supplemental"
supplemental_base_image_url: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
supplemental_user: stack
supplemental_tls_everywhere_dns_server: 192.168.23.1
supplemental_tls_everywhere_gateway: 192.168.23.1

View File

@ -33,7 +33,7 @@ ONBOOT=yes
BOOTPROTO=static
IPADDR={{ freeipa_internal_ip }}
NETMASK=255.255.255.0
GATEWAY=192.168.23.1
GATEWAY={{ supplemental_tls_everywhere_gateway }}
PEERDNS=yes
DNS1={{ supplemental_tls_everywhere_dns_server }}
TYPE=Ethernet