summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5643 from mtnbikenc/refactor-certificatesOpenShift Merge Robot2017-10-043-10/+2
|\ | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Refactor certificate playbooks for checkpointing The recent breakout of the certificate playbooks resulted in the certificate portion of the install to be outside of the component checkpoint. This PR moves the certificate playbooks inside their respective config.yml playbook. Removes an unused tasks file from the openshift_named_certificates role.
| * Move master cert playbooks into master config pathRussell Teague2017-10-033-10/+2
| |
* | Merge pull request #5621 from abutcher/scaleup-portal-netOpenShift Merge Robot2017-10-031-1/+7
|\ \ | |/ |/| | | | | | | | | | | | | Automatic merge from submit-queue. Ensure openshift.common.portal_net updated during scaleup. https://bugzilla.redhat.com/show_bug.cgi?id=1451023 This fact is set in `initialize_facts.yml` at the beginning of scaleup so make sure that we update this fact if we read a different value from the first master's config file.
| * Ensure openshift.common.portal_net updated during scaleup.Andrew Butcher2017-10-021-1/+7
| |
* | Separate certificate playbooks.Andrew Butcher2017-10-024-9/+28
|/
* Remove oo_option facts.Andrew Butcher2017-09-291-24/+0
|
* Merge pull request #5508 from sdodson/disable-image-streamsOpenShift Merge Robot2017-09-281-1/+1
|\ | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Allow examples management to be disabled By setting openshift_install_examples=false the image stream and quick start templates will not be installed https://trello.com/c/zLaSgxig/436-2-customers-need-a-way-to-opt-out-of-openshift-ansible-template-and-imagestream-mangement Fixes #5061
| * Allow examples management to be disabledScott Dodson2017-09-221-1/+1
| |
* | OpenShift-Ansible Installer CheckpointingRussell Teague2017-09-274-0/+267
| | | | | | | | | | | | | | | | | | | | | | - Added installer_checkpoint role and callback plugin - Added checkpoint 'Start' and 'End' plays to each installation phase Additional items related to enabling proper checkpointing: - Removed openshift_set_hostname and related task (related to 3.0) - Added openshift-hosted entry point playbook - Moved openshift metrics and logging out of openshift_hosted playbook - Moved API Aggregation play to master install
* | Add booleans to prevent unwanted install of nuage roles.Michael Gugino2017-09-221-0/+2
|/ | | | | | | | | | Recently, some role dependencies were removed from meta depends into playbooks. Particularly, the nuage role requires several roles. Currently, only the nuage_master role requires openshift_use_nuage to be true. This commit requires the other nuage roles to reference the variable openshift_use_nuage before install.
* Merge pull request #5371 from ingvagabund/consolidate-etcd-certs-rolesOpenShift Merge Robot2017-09-211-0/+3
|\ | | | | | | | | | | | | Automatic merge from submit-queue consolidate etcd certs roles This is a starter for consolidation of all etcd like roles into a single `etcd` action-based role. I have intentionally started with the simplest one to demonstrate the steps needed to make it so and to make the review easy enough for everyone.
| * Consolidate etcd certs rolesJan Chaloupka2017-09-181-0/+3
| | | | | | | | | | | | | | This is a part of the etcd_ like role consolidationi into an action-based role. As part of the consilidation some roles have been removed and some replaced by include_role module. Resulting in reorder and shift of role dependencies from a role into a play.
* | Merge pull request #5473 from abutcher/scaleup-network-valuesScott Dodson2017-09-212-0/+30
|\ \ | | | | | | Set network facts using first master's config during scaleup.
| * | Set network facts using first master's config during scaleup.Andrew Butcher2017-09-202-0/+30
| |/
* / Cleanup old deployment typesMichael Gugino2017-09-202-3/+8
|/ | | | | | | | | | | Previously, openshift-ansible supported various types of deployments using the variable "openshift_deployment_type" Currently, openshift-ansible only supports two deployment types, "origin" and "openshift-enterprise". This commit removes all logic and references to deprecated deployment types.
* pull openshift_master deps out into a playJan Chaloupka2017-09-131-15/+22
|
* Correct include path to not follow symlinkRussell Teague2017-09-081-1/+1
|
* Merge pull request #5305 from mtnbikenc/breakout-master-additionalOpenShift Bot2017-09-071-3/+0
|\ | | | | Merged by openshift-bot
| * Move master additional config out of baseRussell Teague2017-09-051-3/+0
| |
* | Remove openshift-commonMichael Gugino2017-09-062-5/+5
|/ | | | | | | | | Most of this role's purpose was to set facts. The vast majority of these facts were simply redefining user-supplied variables. This commit also removes various artifacts leftover from previous versions, as well as variables that seem to be entirely unused.
* Break out master config into stand-alone playbookRussell Teague2017-09-012-0/+26
| | | | | | | | | Added byo/openshift-master/config.yml as a new entry point for performing master installation. Excluder disable/enable for master has been moved to common/openshift-master/config.yml to follow a standard pattern that could be used for both installation and scaleup playbooks.
* Break out node config into stand-alone playbookRussell Teague2017-08-312-20/+16
| | | | | | | | | | Added byo/openshift-node/config.yml as a new entry point for performing node installation. This playbook must be run after masters have already been deployed. Excluder disable/enable for both nodes and masters has been moved their respective config.yml. This created a common pattern that could be used for both installation and scaleup playbooks.
* Move firewall install and fix scaleup playbooksRussell Teague2017-08-292-17/+1
|
* Remove unsupported playbooks and utilitiesRussell Teague2017-08-251-23/+0
|
* Remove remaining references to openshift-master.serviceClayton Coleman2017-08-081-5/+0
| | | | Prevents playbooks from accidentally restarting the master service.
* Use existing OPENSHIFT_DEFAULT_REGISTRY setting during masters scaleupTim Bielawa2017-07-281-1/+54
| | | | | | | | | | | | | | | Fixes a bug which reported that AFTER a cluster upgrade from OCP 3.5 to 3.6, any masters which are later added via the scaleup playbooks are setting a value for OPENSHIFT_DEFAULT_REGISTRY which is inconsistent with the already configured masters. * OPENSHIFT_DEFAULT_REGISTRY value is saved from oo_first_master * The new scaleup master has a fact set noting it is a scaleup host * The saved OPENSHIFT_DEFAULT_REGISTRY value is used instead of the default for 3.6, which is to use a hard-coded registry value of 'docker-registry.default.svc:5000' Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1469336
* Default an empty list for etcd_to_config if not thereTim Bielawa2017-07-211-1/+1
| | | | | | Also add filter names of filters that failed me for to their error messages so you can figure out which filter threw an exception when you're debugging log files.
* If proxy in effect, add etcd host IP addresses to NO_PROXY list on mastersTim Bielawa2017-07-211-0/+3
| | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1466783
* increase implicit 300s default timeout to explicit 600sJan Chaloupka2017-06-282-0/+2
|
* Set clean install and etcd storage on first master to fix scaleupScott Dodson2017-06-231-20/+19
| | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1464011
* Preserve etcd3 storage if it's already in useScott Dodson2017-06-181-2/+13
| | | | | This would be the case if for instance they'd upgraded and then migrated.
* etcd v3 for clean installsScott Dodson2017-06-161-0/+10
| | | | | If we have no master config assume that we're a clean install. If we're a clean install and we're 3.6 or greater use etcd v3 storage.
* openshift-master: set r_etcd_common_etcd_runtimeGiuseppe Scrivano2017-06-061-0/+1
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Rework openshift_excluders roleRussell Teague2017-05-161-8/+8
|
* run excluders over selected set of hosts during control_plane/node upgradeJan Chaloupka2017-05-031-2/+14
| | | | Disable/reset excluders over requested hosts
* Normalizing groups.Kenny Woodson2017-05-011-1/+1
|
* Remove unnecessary folder refsRussell Teague2017-04-101-3/+3
|
* Removing initial setting of metrics image prefix and versionewolinetz2017-03-281-6/+0
|
* Make the OCP available version detection excluder freeJan Chaloupka2017-03-281-3/+0
| | | | | | When detecting available OCP version via repoquery, use yum.conf file with exclude= set to an empty array. So the detection is independent of the OCP excluder.
* Merge pull request #3038 from djosborne/calicoOpenShift Bot2017-03-271-0/+2
|\ | | | | Merged by openshift-bot
| * Add calico.Dan Osborne2017-03-231-0/+2
| |
* | enable excluders during node/master scaling upJan Chaloupka2017-03-161-0/+11
|/
* nuage: Move role back to configSteve Milner2017-03-101-0/+2
| | | | | | | | | d113f03 moved role dependencies out of playbooks. However, this ended up causing the masters to not be configured before the nuage steps required configured masters. This change moves the nuage specific change in d113f03 back to the config. Resolves #3583
* More fixes for reboot/wait for hosts.Devan Goodwin2017-02-101-2/+14
|
* Moving to ansible variable.Kenny Woodson2017-02-071-1/+1
|
* Specifying port for wait_for call.Kenny Woodson2017-02-071-0/+1
|
* Restructure certificate redeploy playbooksAndrew Butcher2017-02-021-0/+19
|
* Fix host when waiting for a master system restart.Devan Goodwin2017-02-011-1/+2
| | | | | | Discovered situations where the inventory hostname may not be resolvable with operations. Switching to the ssh host (an IP) should always be correct.
* Standardize add_host: with name and changed_whenRussell Teague2017-01-251-1/+4
| | | | | | | The add_host: task does not change any data on the host and as practice has been configured to changed_when: False. This commit standardizes that usage in the byo and common playbooks. Additionally, taks names are added to each task to improve troubleshooting.
* Remove unused temporary directory in master config playbook.Andrew Butcher2017-01-231-21/+0
|