summaryrefslogtreecommitdiffstats
path: root/playbooks/container-runtime
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to import_role for static role inclusionScott Dodson2018-01-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix container_runtime openshift_containerized_host_groupsMichael Gugino2017-12-212-2/+2
| | | | | | | | | | openshift_containerized_host_groups needs to be referenced via hostvars. This commit also updates tox ansible syntax checks to account for unavailability of hostsvars during syntax checks. Fixes: https://github.com/openshift/openshift-ansible/issues/6540
* Adding support for docker-storage-setup on overlayKenny Woodson2017-12-192-0/+22
|
* Implement container_runtime playbooks and changesMichael Gugino2017-12-073-0/+35
This commit refactors some duplicate code, removes usage of set_fact where not needed, and reorganizes container_runtime role to use include_role.