summaryrefslogtreecommitdiffstats
path: root/roles/openshift_openstack
Commit message (Collapse)AuthorAgeFilesLines
* Allow 2 sets of hostnames for openstack providerBogdan Dobrelya2017-12-112-2/+5
| | | | | | | | | | | | | Support private/public hostnames suffixes for DNS records. Real hostnames, Inventory variables, Nova servers and ansible hostnames will ignore the custom suffixes. Those are only for nsupdates sent to external DNS servers. Related change: add openshift_openstack_public_dns_domain to the role defaults to not rely on the group vars example only. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com> Co-authored-by: Tomas Sedovic <tsedovic@redhat.com>
* Include Deprecation: Convert to include_tasksRussell Teague2017-12-063-6/+6
|
* Fix and cleanup not required dns bitsBogdan Dobrelya2017-12-056-145/+8
| | | | | | | | | | | | | | | | | * Do not manage hostnames for openstack cloud provider, let cloud-init to do its job. * Make python-dns / dnspython dependency check conditional. * Drop not used dns node flavor and image. * Do not manage dns nodes and sec groups in heat stacks. * Keep supporting dynamic updates for private DNS records, yet only limited to an external DNS managed elsewhere (not deployed by the openshift_openstack provider). So users may still benefit from this feature, sending nsupdates to private and public servers as they want it. * Fix openstack default for external nsupdate keys. It should be undefined by default as the dns-populate logic is based on that. * Fix dns records generation for openstack provider's populate-dns * Update docs
* Cleanup unused openstack provider codeBogdan Dobrelya2017-12-043-36/+7
| | | | | | | Remove references for bastion, ssh UI tunnek and static inventory. Update docs. Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
* retry package operationsLuke Meyer2017-11-301-0/+4
| | | | | | When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default).
* dist.iteritems() no longer exists in Python 3.Jan Pazdziora2017-11-271-2/+2
|
* Fix toxTomas Sedovic2017-11-072-3/+3
|
* Namespace the OpenStack varsTomas Sedovic2017-11-0711-312/+314
| | | | | This makes sure that all the variables used in the `openshift_openstack` role are prefixed with `openshift_openstack_` as is the convention.
* Use `null` instead of `False` where it makes senseTomas Sedovic2017-11-071-2/+2
| | | | | The `openstack_*_network_name` vars are strings, not booleans, so the absense shouldn't really be marked by `False`.
* Simplify the template paths for the storage setupTomas Sedovic2017-11-071-3/+3
| | | | | | Because the templates are present in a role, the `template` module is able to look them up directly, without having to use `{{ role_path }}/templates`.
* Use the default `item` loop variable for checksTomas Sedovic2017-11-073-14/+11
|
* Move the selinux check upTomas Sedovic2017-11-071-5/+5
|
* Add the DNS updates and rename the openstack varsTomas Sedovic2017-11-078-305/+238
| | | | | Most of the vars in `roles/openshift_openstack/defaults/main.yml` are now prefixed with `openstack_`.
* Remove the subnet_update_dns_servers task listTomas Sedovic2017-11-071-9/+0
| | | | It's no longer being used.
* Move the vars/main.yml to defaultsTomas Sedovic2017-11-072-49/+53
| | | | | | | | The contents of roles/openshift_openstack/vars/main.yml were moved to the defaults/main.yml file instead. There are now duplication warnings we need to address, but the deployment does still work.
* Add a stub of the dns record update code inTomas Sedovic2017-11-072-0/+173
| | | | This will mostly not work but it's a starting point.
* Add openshift_openstack role and move tasks thereTomas Sedovic2017-11-0722-0/+1672
All the tasks that were previously in playbooks are now under `roles/openshift_openstack`. The `openshift-cluster` directory now only contains playbooks that include tasks from that role. This makes the structure much closer to that of the AWS provider.