|
1 | 1 | heat_template_version: 2014-10-16 |
2 | 2 |
|
3 | | - |
4 | 3 | description: > |
5 | 4 | Deploy Atomic/OpenShift 3 on OpenStack. |
6 | 5 |
|
7 | | -
|
8 | 6 | parameters: |
9 | 7 |
|
10 | 8 | # What version of OpenShift Container Platform to install |
@@ -324,11 +322,23 @@ parameters: |
324 | 322 | default: false |
325 | 323 |
|
326 | 324 | # OpenShift configuration: ansible controls |
327 | | - skip_ansible: |
| 325 | + # These are for debugging. |
| 326 | + # Setting prepare_ansible=false will stop the stack before creating |
| 327 | + # installation config files |
| 328 | + prepare_ansible: |
328 | 329 | type: boolean |
329 | 330 | description: > |
330 | | - Do not install Openshift using Ansible. |
331 | | - default: false |
| 331 | + Create ansible configuration files for openshift-ansible playbooks |
| 332 | + default: true |
| 333 | + |
| 334 | + # Setting execute_ansible=false will stop the stack before running |
| 335 | + # the ansible playbooks to install openshift, but *after* the configuration |
| 336 | + # files are generated |
| 337 | + execute_ansible: |
| 338 | + type: boolean |
| 339 | + description: > |
| 340 | + Run the ansible playbooks to install openshift |
| 341 | + default: true |
332 | 342 |
|
333 | 343 | openshift_ansible_git_url: |
334 | 344 | type: string |
@@ -718,7 +728,8 @@ resources: |
718 | 728 | master_ip: {get_attr: [openshift_masters, resource.0.ip_address]} |
719 | 729 | lb_hostname: {get_attr: [loadbalancer, hostname]} |
720 | 730 | router_vip: {get_attr: [ipfailover, router_vip]} |
721 | | - skip_ansible: {get_param: skip_ansible} |
| 731 | + prepare_ansible: {get_param: prepare_ansible} |
| 732 | + execute_ansible: {get_param: execute_ansible} |
722 | 733 | extra_openshift_ansible_params: {get_param: extra_openshift_ansible_params} |
723 | 734 |
|
724 | 735 | # Define the network access policy for openshift nodes |
|
0 commit comments