summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/provision-openstack.yml
Commit message (Collapse)AuthorAgeFilesLines
* Fix yaml indentationTomas Sedovic2017-06-291-1/+1
|
* Use wait_for_connection for the Heat nodesTomas Sedovic2017-06-291-3/+7
| | | | | | | | | | The `wait_for_connection` module is more reliable as it uses Ansible's `ping` to verify the nodes are really accessible. Using `wait_for` and checking that port 22 is open runs into the possibility of SSH being up but the public keys or users not being set up yet (as that's done with cloud-init). In addition, we were gathering facts before running the wait_for task which rendered it useless.
* Merge pull request #491 from tzumainn/openstack-heat-stack-updateTomas Sedovic2017-06-261-0/+1
|\ | | | | Add node_removal_policies variable to openstack provisioning to allow for scaling down
| * rename node_removal_policies, add some comments and defaultsTzu-Mainn Chen2017-06-231-1/+1
| |
| * Add node_removal_policies variable to allow for scaling downTzu-Mainn Chen2017-06-211-0/+1
| |
* | Use cached facts, do not become for localhost (#484)Bogdan Dobrelya2017-06-211-1/+3
|/ | | | | | Prohibit sudoing for localhost played tasks, like DNS setup. Re-use cached facts to speed up deployment. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Gather facts for provision playbookBogdan Dobrelya2017-06-151-0/+1
| | | | | | | | | Provision tasks use facts like ansible_hostname and few others. W/o gathering facts, those expire, and the provision playbook cannot be reapplied in order to update the existing heat stack. Refresh the facts cache by specifying gather_facts: true. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Add default values to provision-openstack.ymlTomas Sedovic2017-06-141-8/+8
|
* Move the openstack provisioning playbooksTomas Sedovic2017-06-141-0/+48
They'll live in playbooks/provisioning/openstack from now on.