redhat-openstack / openshift-on-openstack

A place to write templates, docs etc. for deploying OpenShift on OpenStack.
Apache License 2.0
136 stars 87 forks source link

Ansible debugging - switches allow stop before Ansible config generation and execution #321

Closed markllama closed 7 years ago

markllama commented 7 years ago

This change offers switches to developers to control the stack processing. It replaces one existing switch and adds one other.

Both switches default to true and are used only for development and debugging of the heat stack

= New Behavior

== prepare_ansible When true, the stack script generates the ansible configuration scripts which will be used to install OpenShift on the target instances.

When false the stack script exits with success but stops processing before generating configuration or executing the ansible playbooks.

== execute_ansible When true the stack script executes the openshift-ansible playbooks to install OpenShift on the target instances.

When false the stack script stops before running the playbooks and reports the ansible-playbook command which would have been executed.

When prepare_ansible