keep original /etc/ansible/hosts
as discussed by mail
- add install_idm default to htpasswd, otherwise variable is undefined, playbook
fails
| | |
| | | master_lb_dns: "loadbalancer.{{subdomain_base}}" |
| | | cloudapps_suffix: 'apps.{{subdomain_base}}' |
| | | openshift_master_ldap_ca_file: 'openshift_master_ldap_ca_file=/root/ca.crt' |
| | | # htpasswd / ldap / allow_all |
| | | install_idm: htpasswd |
| | | |
| | | ## If you are not part of GPTE you don't need this. |
| | | opentlc_integration: true |
| | |
| | | tags: |
| | | - step005 |
| | | tasks: |
| | | - name: Overwrite ansible hosts file with lab hosts file |
| | | - name: Generate /etc/ansible/hosts file with lab hosts template |
| | | template: |
| | | src: "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/files/labs_hosts_template.j2" |
| | | dest: "{{ ANSIBLE_REPO_PATH }}/workdir/labs_hosts-{{ env_type }}-{{ guid }}" |
| | |
| | | vars_files: |
| | | - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml" |
| | | tasks: |
| | | - name: Copy over ansible hosts file |
| | | - name: Copy over ansible hosts file, lab version |
| | | copy: |
| | | backup: no |
| | | backup: yes |
| | | src: "{{ ANSIBLE_REPO_PATH }}/workdir/labs_hosts-{{ env_type }}-{{ guid }}" |
| | | dest: /etc/ansible/hosts |
| | | tags: |