summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/provision.yml
Commit message (Collapse)AuthorAgeFilesLines
* Install base_packages earlierMichael Gugino2018-01-221-2/+2
| | | | | | | | | | | | Currently, openshift_facts requires pyyaml to be installed. This package is installed via init/base_packages.yml, which is currently called after init/facts.yml. This results in a situation where installs will fail due to missing python dependency. This commit splits init/facts.yml into two, and allows base_packages.yml to be run before the openshift_facts.py plugin is executed.
* Migrate to import_role for static role inclusionScott Dodson2018-01-051-6/+6
| | | | | | | | | | | | | | | | | | | | | | | In Ansible 2.2, the include_role directive came into existence as a Tech Preview. It is still a Tech Preview through Ansible 2.4 (and in current devel branch), but with a noteable change. The default behavior switched from static: true to static: false because that functionality moved to the newly introduced import_role directive (in order to stay consistent with include* being dynamic in nature and `import* being static in nature). The dynamic include is considerably more memory intensive as it will dynamically create a role import for every host in the inventory list to be used. (Also worth noting, there is at the time of this writing an object allocation inefficiency in the dynamic include that can in certain situations amplify this effect considerably) This change is meant to mitigate the pressure on memory for the Ansible control host. We need to evaluate where it makes sense to dynamically include roles and revert back to dynamic inclusion if and where it makes sense to do so.
* set repos after registration: convert to match task -> import_role model.Mark Lamourine2017-12-181-3/+11
|
* Fix rhel_subscribe booleanMichael Gugino2017-12-151-2/+2
| | | | | | | This commit fixes a variable name to it's correct name used in a when condition. Also makes use of 'is defined' consistent.
* Include Deprecation: Convert to import_playbookRussell Teague2017-12-071-2/+2
|
* Merge pull request #6310 from tomassedovic/openstack-rhel-subscriptionMichael Gugino2017-12-071-0/+10
|\ | | | | Optionally subscribe OpenStack RHEL nodes
| * Remove shell environment lookupTomas Sedovic2017-12-011-2/+2
| |
| * Optionally subscribe OpenStack RHEL nodesTomas Sedovic2017-11-291-0/+10
| |
* | Fix and cleanup not required dns bitsBogdan Dobrelya2017-12-051-3/+0
|/ | | | | | | | | | | | | | | | | * 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
* Fix openstack initRussell Teague2017-11-161-3/+1
|
* Namespace the OpenStack varsTomas Sedovic2017-11-071-2/+2
| | | | | This makes sure that all the variables used in the `openshift_openstack` role are prefixed with `openshift_openstack_` as is the convention.
* Add the DNS updates and rename the openstack varsTomas Sedovic2017-11-071-6/+30
| | | | | Most of the vars in `roles/openshift_openstack/defaults/main.yml` are now prefixed with `openstack_`.
* Use correct host group in provision.ymlTomas Sedovic2017-11-071-1/+1
|
* Add openshift_openstack role and move tasks thereTomas Sedovic2017-11-071-0/+37
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.