summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
Commit message (Collapse)AuthorAgeFilesLines
* Perform master upgrades in a single play serially.Devan Goodwin2017-01-181-11/+0
|
* Validate system restart policy during pre-upgrade.Devan Goodwin2017-01-183-70/+68
| | | | | | | | | | This was done far into the process potentially leaving the user in a difficult situation if they had now considered they were running the upgrade playbook on a host that would be restarted. Instead check configuration and what host we're running on in pre-upgrade and allow the user to abort before making any substantial changes. This is a step towards merging master upgrade into one serial process.
* Do not default registry storage kind to 'nfs' when 'nfs' group exists.Andrew Butcher2017-01-121-5/+0
| | | | | | | This makes it possible to use openshift-ansible configured nfs for hosted components other than the registry while also configuring empty-dir registry storage (no openshift_hosted_registry_storage_kind set).
* Merge pull request #3060 from abutcher/return-deps-to-rolesScott Dodson2017-01-101-28/+3
|\ | | | | Return role dependencies to roles for openshift_{hosted,master,node}
| * Move role dependencies out of playbooks for openshift_master, openshift_node ↵Andrew Butcher2017-01-091-28/+3
| | | | | | | | and openshift_hosted.
* | Use openshift.common.hostname when verifying API port available.Andrew Butcher2017-01-061-7/+5
|/
* Updated OpenShift Master iptables rulesRussell Teague2016-12-121-12/+5
| | | | | | | * Removed unneeded rules * Moved etcd rule to conditional based on usage of embedded etcd https://bugzilla.redhat.com/show_bug.cgi?id=1386329
* YAML LintingRussell Teague2016-12-125-10/+11
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* openshift-master/restart : use openshift.common.hostname instead of ↵Mark Chappell2016-12-022-2/+2
| | | | | | | inventory_hostname When using a dynamic inventory inventory_hostname isn't guaranteed to be usable. We should use openshift.common.hostname which already copes with this
* Fix openshift_hosted_metrics_deployer_version set_fact.Andrew Butcher2016-11-141-1/+1
|
* Where we use curl force it to use tlsv1.2Scott Dodson2016-11-021-1/+1
| | | | | | | curl, prior to RHEL 7.2, did not properly negotiate up the TLS protocol, so force it to use tlsv1.2 Fixes bug 1390869
* Merge pull request #2627 from dgoodwin/remove-pacemaker-restartsScott Dodson2016-10-204-132/+3
|\ | | | | Drop pacemaker restart logic.
| * Drop pacemaker restart logic.Devan Goodwin2016-10-194-132/+3
| | | | | | | | | | Pacemaker clusters are no longer supported, and in some cases bugs here were causing upgrade failures.
* | Template with_items for upstream ansible-2.2 compat.Andrew Butcher2016-10-141-1/+1
|/
* Update play names for consistency.Andrew Butcher2016-09-291-2/+2
|
* Suppress more warnings.Andrew Butcher2016-09-281-0/+4
|
* Pull in keynote demo changesScott Dodson2016-08-241-0/+6
|
* Call relocated openshift-loadbalancer playbook in master scaleup.Andrew Butcher2016-08-041-0/+2
|
* Merge pull request #2049 from abutcher/named-certificatesScott Dodson2016-08-032-49/+6
|\ | | | | Named CA Certificates
| * Add options for specifying named ca certificates to be added to the ↵Andrew Butcher2016-08-012-49/+6
| | | | | | | | openshift ca bundle.
* | Refactor etcd certificates roles.Andrew Butcher2016-08-021-74/+7
|/
* Move role dependencies to playbooks.Andrew Butcher2016-07-291-1/+29
|
* Merge pull request #2210 from abutcher/staggered-master-startScott Dodson2016-07-281-0/+1
|\ | | | | Stagger HA master service start
| * Stagger the start of master services.Andrew Butcher2016-07-241-0/+1
| |
* | Template named certificates with_items.Andrew Butcher2016-07-251-2/+2
| |
* | Replace master_cert_config_dir with common config_base fact.Andrew Butcher2016-07-251-1/+1
|/
* Refactor openshift certificates roles.Andrew Butcher2016-07-201-88/+12
|
* Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-07-141-5/+0
|\
| * Various hosted component improvementsAndrew Butcher2016-07-071-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * [openshift_projects] Add openshift_projects role * [openshift_hosted] hosted deployments use openshift_hosted_infra_selector if openshift_hosted_<component>_selector is not defined * [openshift_hosted] move openshift_projects, openshift_serviceaccounts and openshift_metrics to dependencies of openshift_hosted * [router] improve router deployment - add router option to force subdomain - add CA to router certificate options * [registry] move registry config into openshift_hosted role - additional registry fixes/tweaks - add s3 storage support for registry * [serviceaccount] fix up serviceaccount creation
* | Merge branch 'master' into upgrade33Devan Goodwin2016-06-281-1/+1
|\|
| * Merge pull request #1927 from jfcoz/metrics_resolutionScott Dodson2016-06-231-1/+1
| |\ | | | | | | add unit in seconds for metrics resolution
| | * add unit in seconds for metrics resolutionjfcoz2016-05-231-1/+1
| | |
* | | Fix docker restarts during openshift_version role.Devan Goodwin2016-06-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The variable here must be explicitly passed to the docker role, if it's passed sometimes and not others, the docker config changes triggers a docker restart effectively killing everything on the node in an unsafe manner. Instead lets make sure the value is set.
* | | Drop unused and broken "when" in vars section.Devan Goodwin2016-06-061-7/+0
| | |
* | | Do not install rpm for version in openshift_version role.Devan Goodwin2016-06-061-1/+1
| | |
* | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-05-311-10/+91
|\| |
| * | Revert openshift-certificates changes.Andrew Butcher2016-05-301-10/+91
| | |
* | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-05-301-133/+10
|\| |
| * | Separate master and haproxy config playbooks.Andrew Butcher2016-05-261-27/+0
| | | | | | | | | | | | | | | | | | * Move haproxy configuration to a separate openshift-loadbalancer play. * Move the haproxy role to openshift_loadbalancer. * Add openshift_loadbalancer* facts which drive haproxy configuration.
| * | Consolidate ca/master/node certificates roles into openshift_certificates.Andrew Butcher2016-05-191-91/+10
| |/
* | Refactor openshift_version behavior.Devan Goodwin2016-05-301-78/+8
| | | | | | | | | | | | | | | | | | | | | | | | Very early in playbooks we must init the openshift_version for each host. First we determine it for the master, logic now is pushed into the openshift_docker role which we run only on first master via openshift_cli. Facts are reloaded leaving us with a first master with openshift.common.version fact we can then re-use on all other hosts. The correct version of docker should be installed as well. We then set openshift_version for all other hosts by re-using the master fact.
* | Protect installed version on subsequent masters.Devan Goodwin2016-05-301-2/+22
| |
* | Get rpm installations functional again.Devan Goodwin2016-05-261-4/+10
| |
* | Preserve node versions on re-run.Devan Goodwin2016-05-251-1/+1
| |
* | Hookup node configuration.Devan Goodwin2016-05-251-5/+4
| |
* | Complete installation of first master containerized.Devan Goodwin2016-05-251-1/+2
| |
* | Stop downgrading Docker because we don't know what version to install yet.Devan Goodwin2016-05-251-1/+1
| |
* | Work towards determining openshift_version when unspecified.Devan Goodwin2016-05-251-3/+3
| | | | | | | | | | | | | | 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-3/+69
|/ | | | | | | 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.
* Refactor where we compute no_proxy hostnamesScott Dodson2016-05-171-0/+7
|