summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-master
Commit message (Collapse)AuthorAgeFilesLines
* Remove old assetConfig from master-config.yamlSamuel Padgett2018-01-251-40/+46
| | | | | | | | The `assetConfig` is no longer used now that the console is split into its own pod. - Remove `assetConfig` on upgrades to 3.9 - Stop writing logging and metrics URLs to assetConfig for 3.9
* Fix master scaleup playMichael Gugino2018-01-191-10/+31
| | | | | | | Allow playbooks/openshift-master/scaleup.yml to call prerequisites.yml at the proper time. Related-to: https://github.com/openshift/openshift-ansible/pull/6784
* Move more plugins to lib_utilsMichael Gugino2018-01-101-0/+1
| | | | | | | This commit continues moving plugins into lib_utils. This commit does not move any plugins for add-on roles such as logging and metrics.
* Chmod temp dirs created on localhostMichael Gugino2018-01-091-0/+4
| | | | | | | | | | | | | | | After remove become:no statements on local_action tasks, we need to ensure that the proper file permssions are applied to local temp directories. This reason for this is that the 'fetch' module does not use 'become' for the localhost, just the remote host. Additionally, users may not wish for the localhost to become during a fetch. local_action will execute with whatever permissions are specified in inventory or via cli.
* Remove become statementsMichael Gugino2018-01-094-6/+0
| | | | | This commit removes become:no statements that break the installer in various ways.
* Contiv multi-master and other fixesNick Bartos2018-01-081-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Contiv's etcd was not being deployed correctly when using more than one master. To make it easier to manage, it has been moved into a k8s container. The api proxy was hardcoded to an old version (1.1.1), and in some environments would run into a docker error. This has been moved into a k8s container for easier management. The firewall was too permissive on several ports. Many were open to the world when they should have only been accessible inside the cluster. Many of the contiv role variables were not prefixed with 'contiv', which may end up clobbering variables from another role. Now all the contiv specific role variables start with 'contiv_'. The api proxy's default self-signed certificate was bundled with the role. This means someone with read-only MITM access and this key could decrypt traffic. Granted a user defined certificate from a trusted CA should be used in a production environment, it is still better to generate one in each environment when one is not provided.
* Migrate to import_role for static role inclusionScott Dodson2018-01-052-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove references to deployment_typeMichael Gugino2017-12-212-2/+2
| | | | | | | Move openshift_deployment_type check into sanity_check action plugin. Remove compatibility for deployment_type. deployment_type has been deprecated for some time now.
* Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-202-3/+3
| | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* Relocate filter plugins to lib_utilsMichael Gugino2017-12-186-37/+34
| | | | | | | | | | | | | | This commit relocates filter_plugings to lib_utils, changes the namespacing to prevent unintended use of older versions that may be present in filter_plugins/ directory on existing installs. Add lib_utils to meta depends for roles Also consolidate some plugins into lib_utils from various other areas. Update rpm spec, obsolete plugin rpms.
* Remove empty openshift_hosted_facts roleMichael Gugino2017-12-121-1/+0
| | | | This commit removes a now-empty role.
* Cleanup byo referencesRussell Teague2017-12-081-1/+1
|
* Merge pull request #6278 from mgugino-upstream-stage/service_typeMichael Gugino2017-12-083-6/+6
|\ | | | | Remove openshift.common.service_type
| * Remove openshift.common.service_typeMichael Gugino2017-12-073-6/+6
| | | | | | | | | | | | | | | | This commit removes openshift.common.service_type in favor of openshift_service_type. This commit also removes r_openshift_excluder_service_type from plays in favor of using the role's defaults.
* | Add os_firewall to prerequisites.ymlMichael Gugino2017-12-071-1/+0
| | | | | | | | | | | | | | This needs to be in place for crio. This role only installs and enables iptables, thus should only be run once.
* | Include Deprecation: Convert to import_playbookRussell Teague2017-12-074-9/+9
|/
* Remove all references to pacemaker (pcs, pcsd) and ↵Andrew Butcher2017-12-053-7/+0
| | | | | | | openshift.master.cluster_method. With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
* Playbook Consolidation - Redeploy CertificatesRussell Teague2017-12-015-0/+354
|
* Allow openshift_install_examples to be falseMichael Fraenkel2017-11-221-1/+1
| | | | when using yaml or json, a false value is converted to true
* Include Deprecation - openshift-masterRussell Teague2017-11-2210-24/+23
|
* Playbook Consolidation - openshift-masterRussell Teague2017-11-2221-0/+814