summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/tasks/main.yml
Commit message (Collapse)AuthorAgeFilesLines
* Force to use TLSv1.2 (related to ↵Olivier Buisson2017-03-131-1/+1
| | | | https://github.com/openshift/openshift-ansible/pull/2707)
* atomic-openshift: install as a system containerGiuseppe Scrivano2017-02-101-0/+4
| | | | | | | | | | | | | | | Use use_system_containers=true in the inventory file alternatively you can select each component as: use_openvswitch_system_container=true use_node_system_container=true use_master_system_container=true system_images_registry holds the registry from where to fetch system containers. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Pre-pull master/node/ovs images during upgrade.Devan Goodwin2016-12-071-7/+0
| | | | | | | | We did this for install but not upgrade, leading to situations where the service restarts after upgrade could take much longer than expected as docker pulls down the new image. Now the images are present when we restart services and should allow them to come back online much more quickly, equivalent to rpm service restarts.
* Refactored to use Ansible systemd moduleRussell Teague2016-11-281-28/+36
| | | | | | * Ansible systemd module used in place of service module * Refactored command tasks which are no longer necessary * Applying rules from openshift-ansible Best Practices Guide
* Refactor to use Ansible package moduleRussell Teague2016-11-171-3/+5
| | | | | The Ansible package module will call the correct package manager for the underlying OS.
* Switch from "oadm" to "oc adm" and fix bug in binary sync.Devan Goodwin2016-10-191-1/+1
| | | | | | | | Found bug syncing binaries to containerized hosts where if a symlink was pre-existing, but pointing to the wrong destination, it would not be corrected. Switched to using oc adm instead of oadm.
* Apply same pattern to HA master servicesScott Dodson2016-10-101-0/+12
|
* Retry failed master startup onceDan Mace2016-10-071-0/+11
| | | | | | | | | | | | | Master startup can fail when ec2 transparently reallocates the block storage, causing etcd writes to temporarily fail. Retry failures blindly just once to allow time for this transient condition to to resolve and for systemd to restart the master (which will eventually succeed). https://github.com/coreos/etcd/issues/3864 https://github.com/openshift/origin/issues/6065 https://github.com/openshift/origin/issues/6447
* tweak logicJason DeTiberus2016-09-261-1/+1
|
* test fix for systemd changesScott Dodson2016-09-261-1/+2
|
* Fix master service status changed fact.Andrew Butcher2016-09-211-1/+5
|
* Support for redeploying certificates.Andrew Butcher2016-08-111-34/+0
|
* 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
|\
| * 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-091-1/+9
|\| |
| * | 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
* First pass at systemd unit refactorBrenton Leanhardt2016-03-291-55/+2
|
* 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
|