summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/post-provision-openstack.yml
Commit message (Collapse)AuthorAgeFilesLines
* Do not repeat pre_tasks for post-provision playbook (#689)Bogdan Dobrelya2017-08-241-6/+0
| | | | | | Move repeating pre_tasks to pre-install (OpenShift Pre-Requisites) step. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Moving common DNS roles out of the playbook area (#605)Øystein Bedin2017-08-021-4/+2
|
* Options for bastion, SSH config, static inventory autogenerationBogdan Dobrelya2017-07-251-1/+5
| | | | | | | | | | | | | | | * At the provisioning stage, allow users to auto-generate SSH config, when using a static inventory. * Run playbooks to provsion and post-provision as a separate, when using a bastion. This re-applies the SSH config, which ansible can't do on the fly. * Support a pre-installed bastion node, colocated with the 1st infra node. * With a bastion enabled, reduce floating IP footprint to infra and dns nodes only, effectively isolating a cluster in a private network. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Static inventory autogeneration (#550)Bogdan Dobrelya2017-07-201-27/+45
| | | | | | | | | * At the provisioning stage, allow users to auto-generate a static inventory w/o manual steps needed. The alternative to go fully dynamic TBD. * Move openshift pre-install playbook to the post provision playbook, where the second part of the pre install tasks is already placed. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Set up NetworkManager automatically (#542)Tomas Sedovic2017-07-141-2/+4
| | | | | | | | | | | | | | | | | | | * Set up NetworkManager automatically This removes the extra step of running the `openshift-ansible/playbooks/byo/openshift-node/network_manager.yml` before installing openshift. In addition, the playbook relies on a host group that the provisioning doesn't provide (oo_all_hosts). Instead, we set up NetworkManager on CentOS nodes automatically. And we restart it on RHEL (which is necessary for the nodes to pick up the new DNS we configured the subnet with). This makes the provisioning easier and more resilient. * Apply the node-network-manager role to every node It makes the code simpler and more consistent across distros.
* Add defaults values for some openstack vars (#539)Tomas Sedovic2017-07-121-1/+1
| | | | | | | | | | | | | | * Add defaults values for some openstack vars Ansible shows errors when the `rhsm_register` and `openstack_flat_secgrp` values are not present in the inventory even though they have sensible default values. This makes them both default to false when they're not specified. * Comment out the flat security group option in inv It's no longer required to be there so let's comment it out.
* Install DNS roles from casl-infra with galaxy (#529)Bogdan Dobrelya2017-07-121-2/+2
| | | Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Persist DNS configuration for nodes for openstack providerBogdan Dobrelya2017-06-301-19/+23
| | | | | | | | | | | | | | | | | * Firstly, provision a Heat stack with given public resolvers. * After the DNS node configured as an authoritative server, switch the Heat stack's Neutron subnet to that resolver (private_dns_server) the way it to become the first entry pushed into the hosts /etc/resolv.conf. It will be serving the cluster domain requests for OpenShift nodes and workloads. * Drop post-provision /etc/reslov.conf nameserver hacks as not needed anymore. * Fix dns floating IPs output and add the priv IPs output as well. * Update docs, clarify localhost vs servers requirements, add required Network Manager setup step. * Use post-provision task names instead of comments. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* Use cached facts, do not become for localhost (#484)Bogdan Dobrelya2017-06-211-0/+8
| | | | | | 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>
* Fix yamllint errorsTomas Sedovic2017-06-161-2/+0
|
* Fix privileges in the pre-install playbookTomas Sedovic2017-06-151-11/+11
|
* Move the openstack provisioning playbooksTomas Sedovic2017-06-141-0/+60
They'll live in playbooks/provisioning/openstack from now on.