summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Preserve AWS options in sysconfig files.Devan Goodwin2016-08-261-1/+46
| | | | | | | | | | These could exist from 3.1 releases or manual edits, and were getting wiped out in all variants of the master sysconfig files as we template these. This change uses the established pattern of grepping them out if they're there, then reapplying them if the user has not configured the cloudprovider framework already.
* Support for redeploying certificates.Andrew Butcher2016-08-111-34/+0
|
* Merge pull request #2211 from dgoodwin/33-upgrade-playbookScott Dodson2016-08-081-4/+4
|\ | | | | 1.3 / 3.3 Upgrades
| * Introduce 1.3/3.3 upgrade path.Devan Goodwin2016-07-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 3.2 upgrade common files out to a path that does not indicate they are strictly for 3.2. 3.3 upgrade then becomes a relatively small copy of the byo entry point, all calling the same code as 3.2 upgrade. Thus far there are no known 3.3 specific upgrade tasks. In future we will likely want to allow hooks out to version specific pre/upgrade/post tasks. Also fixes a bug where the handlers were not restarting nodes/openvswitch containers doing upgrades, due to a change in Ansible 2+.
* | Add options for specifying named ca certificates to be added to the ↵Andrew Butcher2016-08-011-1/+6
| | | | | | | | openshift ca bundle.
* | Stagger the start of master services.Andrew Butcher2016-07-241-5/+38
| |
* | Merge pull request #1990 from abutcher/openshift-certificatesScott Dodson2016-07-211-0/+1
|\ \ | |/ |/| Refactor openshift certificates roles.
| * Refactor openshift certificates roles.Andrew Butcher2016-07-201-0/+1
| |
* | Stop reporting changes when docker pull is already up to date.Devan Goodwin2016-07-201-0/+2
|/
* Always populate openshift_image_tag and openshift_pkg_version.Devan Goodwin2016-06-151-3/+2
| | | | | Allows the use of arbitrary tags, precise control over containers and rpms, and likely mixed environments.
* Merge branch 'master' into upgrade33Devan Goodwin2016-06-101-1/+1
|\
| * Merge pull request #2005 from brenton/bz1338726Brenton Leanhardt2016-06-091-1/+1
| |\ | | | | | | Bug 1338726 - never abort install if the latest version of docker is already installed
| | * Restore mistakenly reverted code.Devan Goodwin2016-06-091-2/+7
| | |
| | * Merge branch 'docker1.10' of https://github.com/dgoodwin/openshift-ansibleBrenton Leanhardt2016-06-071-8/+3
| | |\
| | | * Fix Docker 1.10 problems with empty tags and trailing :Devan Goodwin2016-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docker 1.10 is no longer tolerant of commands like "docker pull myimage:" when we do not have an image tag in play. Adjust all occurrences with one that only includes the : if a version is defined. Adjust the containerized CLI wrappers for a similar problem.
| | | * Docker 1.10 UpgradeDevan Goodwin2016-06-031-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a separate playbook for Docker 1.10 upgrade that can be run standalone on a pre-existing 3.2 cluster. The upgrade will take each node out of rotation, and remove *all* containers and images on it, as this is reportedly faster and more storage efficient than performing the in place 1.10 upgrade. This process is integrated into the 3.1 to 3.2 upgrade process. Normal config playbooks now become 3.2 only, and require Docker 1.10. Users of older environments will have to use an appropriate openshift-ansible version. Config playbooks no longer are in the business of upgrading or downgrading docker.
* | | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-092-1/+55
|\| | |
| * | | Preserve proxy config if it's undefinedScott Dodson2016-06-071-0/+43
| | | |
| * | | At least backup thingsScott Dodson2016-06-071-0/+3
| |/ /
| * | Merge pull request #1973 from ibotty/preserve_htpasswdScott Dodson2016-06-061-1/+9
| |\ \ | | |/ | |/| Add flag to manage htpasswd, or not.
| | * ensure htpasswd file existsTobias Florek2016-06-061-1/+9
| | | | | | | | | | | | Also move file mode to the file-exists check to not specify twice.
| | * Add flag to manage htpasswd, or not.Tobias Florek2016-06-021-1/+1
| | | | | | | | | | | | | | | Setting `openshift_master_manage_htpasswd` falsy will disable managing the htpasswd file. It won't get overwritten/generated.
| * | Fix error with stopping services that may not exist.Devan Goodwin2016-06-021-2/+7
| |/ | | | | | | | | | | Causes a hard failure due to missing etcd/atomic-openshift-master services. Instead, check that the services exist before ensuring they're stopped/disabled.
* | Fix error restarting master service that may not be there.Devan Goodwin2016-05-301-2/+7
| |
* | Complete installation of first master containerized.Devan Goodwin2016-05-251-2/+1
| |
* | Work towards determining openshift_version when unspecified.Devan Goodwin2016-05-251-2/+0
| | | | | | | | | | | | | | openshift_docker role was largely useless now, but also almost did what we needed. (deps ordering still needs to be changed) Remove defaulting of openshift_version.
* | Set openshift_version in config playbooks for first master.Devan Goodwin2016-05-251-0/+2
| | | | | | | | | | | | | | Starting to remove openshift.docker.openshift_version fact usage. openshift_version should no longer contain a leading 'v' for containerized installs, just a version number.
* | Debug output.Devan Goodwin2016-05-251-0/+2
|/
* Extend multiple login provider check to include origin.Andrew Butcher2016-05-231-1/+1
|
* Allow multiple login providers post 3.2.Andrew Butcher2016-05-231-1/+1
|
* Cleanup various deprecation warnings.Andrew Butcher2016-04-291-9/+9
|
* Add support for setting identity provider custom valuesJason DeTiberus2016-04-251-3/+30
| | | | | | | - htpasswd users - ldap ca file - openid ca file - request_header ca file
* Convert image_tag on mastersSamuel Munilla2016-04-121-1/+1
| | | | Also convert openshift_image_tag to and rpm versions for masters.
* Allow for overriding scheduler configJason DeTiberus2016-03-311-2/+2
| | | | | | | | | - introduce openshift_master_scheduler_predicates and openshift_master_scheduler_priorities to override the default scheduler predicates and priorities - switch default scheduler priorities to use SelectorSpreadPriority instead of ServiceSpreadingPriority
* Bug 1320829 - Ensure docker installed for factsJason DeTiberus2016-03-311-65/+0
| | | | | | - gather facts requiring docker only if docker is present and running - Update reference to etcd role in playbooks/common/openshift-etcd/config.yml to use openshift_etcd
* The systemd unit for atomic-openshift-master wasn't not being createdBrenton Leanhardt2016-03-291-6/+16
|
* Use openshift.master.ha instead of duplicating the logicBrenton Leanhardt2016-03-291-4/+4
|
* First pass at systemd unit refactorBrenton Leanhardt2016-03-292-55/+61
|
* Provide cacert when performing health checksAndrew Butcher2016-03-151-1/+2
|
* perform oc client config tasks only once when ansible_ssh_user is rootJason DeTiberus2016-03-151-9/+6
|
* Merge branch 'wait-all-the-time' of ↵Brenton Leanhardt2016-03-081-2/+2
|\ | | | | | | https://github.com/abutcher/openshift-ansible
| * Use /healthz/ready when verifying apiAndrew Butcher2016-03-081-2/+2
| |
* | reverting back to pre-pulling the master imageBrenton Leanhardt2016-03-081-0/+5
|/
* First past at the upgrade processBrenton Leanhardt2016-03-031-5/+0
|
* Rename variable to openshift_master_default_subdomain with backwards ↵Jeremiah Stuever2016-02-251-1/+1
| | | | compatibility.
* Don't make config files world readableScott Dodson2016-02-171-0/+6
|
* Bug 1308412 - Fail to install containerized HA master env on RHEL7Brenton Leanhardt2016-02-151-1/+1
|
* conditionalize loopback config on v >= 3.2/1.2Jason DeTiberus2016-02-112-30/+33
|
* Don't mask master service on atomic.Andrew Butcher2016-02-101-1/+1
|
* Add gte check for 3.2, update version checks to gteJason DeTiberus2016-02-091-1/+1
|