summaryrefslogtreecommitdiffstats
path: root/playbooks/common
Commit message (Collapse)AuthorAgeFilesLines
* Always populate openshift_image_tag and openshift_pkg_version.Devan Goodwin2016-06-152-23/+1
| | | | | Allows the use of arbitrary tags, precise control over containers and rpms, and likely mixed environments.
* Remove the use of the upgrading variable.Devan Goodwin2016-06-132-2/+0
|
* Don't be specific about rpm version to upgrade to for now.Devan Goodwin2016-06-131-1/+2
|
* Restore 3.2 RPM version check before upgrading.Devan Goodwin2016-06-131-2/+17
|
* Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-132-3/+17
|\
| * Remove Docker 1.10 requirement temporarily.Devan Goodwin2016-06-102-3/+17
| | | | | | | | | | | | Docker 1.10 is not widely available in RHEL / CentOS yet, lets remove the restriction for users of master / origin. We can revert as soon as it's available publically.
* | Temporary fix for upgrading issue.Devan Goodwin2016-06-101-0/+1
| |
* | Merge branch 'master' into upgrade33Devan Goodwin2016-06-102-18/+3
|\|
| * Merge pull request #2005 from brenton/bz1338726Brenton Leanhardt2016-06-092-18/+3
| |\ | | | | | | Bug 1338726 - never abort install if the latest version of docker is already installed
| | * Docker 1.10 UpgradeDevan Goodwin2016-06-032-18/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix version unset bug, and set common ver fact on containerized nodes.Devan Goodwin2016-06-101-1/+0
| | |
* | | Fix missing openshift.common.version fact on containerized nodes.Devan Goodwin2016-06-101-0/+2
| | |
* | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-094-7/+5
|\| |
| * | Add openshift_loadbalancer_facts role to set lb facts prior to running ↵Andrew Butcher2016-06-081-2/+0
| | | | | | | | | | | | dependencies.
| * | Use unique play names to make things easier to debugScott Dodson2016-06-073-5/+5
| |/
* | Begin major simplification of 3.2 upgrade.Devan Goodwin2016-06-091-73/+24
| |
* | Respect image tag/pkg version during upgrade.Devan Goodwin2016-06-072-8/+12
| |
* | Force version to latest 3.2 during upgrade.Devan Goodwin2016-06-072-2/+4
| |
* | Verify openshift_release is correct or absent in inventory before upgrade.Devan Goodwin2016-06-071-4/+20
| |
* | 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-062-5/+1
| |
* | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-063-23/+29
|\|
| * Merge pull request #1968 from abutcher/os-firewall-evalJason DeTiberus2016-06-011-0/+2
| |\ | | | | | | [v2] Move os_firewall_allow from defaults to role dependencies.
| | * Add haproxy_frontend_port to vars for openshift-loadbalancer.Andrew Butcher2016-06-011-0/+2
| | |
| * | Merge pull request #1957 from jfcoz/metrics_wait_deployerJason DeTiberus2016-06-012-22/+24
| |\ \ | | | | | | | | wait metrics-deployer complete (need to configure nodes before hosted…
| | * | wait metrics-deployer complete (need to configure nodes before hosted services)jfcoz2016-05-272-22/+24
| | | |
| * | | Ensure registry url evaluated when creating router.Andrew Butcher2016-05-311-1/+3
| | |/ | |/|
* | | Stop requiring/using first master version fact and use openshift_version var ↵Devan Goodwin2016-05-311-5/+4
| | | | | | | | | | | | instead.
* | | Drop unnecessary node playbook version calculation.Devan Goodwin2016-05-311-16/+0
| | |
* | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-05-312-14/+157
|\| |
| * | Revert openshift-certificates changes.Andrew Butcher2016-05-302-14/+157
| | |
* | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-05-309-199/+46
|\| |
| * | Separate master and haproxy config playbooks.Andrew Butcher2016-05-267-27/+30
| | | | | | | | | | | | | | | | | | * Move haproxy configuration to a separate openshift-loadbalancer play. * Move the haproxy role to openshift_loadbalancer. * Add openshift_loadbalancer* facts which drive haproxy configuration.
| * | Merge pull request #1908 from abutcher/openshift-certificatesJason DeTiberus2016-05-262-157/+14
| |\ \ | | | | | | | | Refactor openshift certificate roles
| | * | Consolidate ca/master/node certificates roles into openshift_certificates.Andrew Butcher2016-05-192-157/+14
| | |/
| * | Merge pull request #1773 from detiber/aws_cleanupJason DeTiberus2016-05-251-0/+2
| |\ \ | | | | | | | | Cloud provider cleanup
| | * | Call evaluate_groups from update_repos_and_packagesJason DeTiberus2016-05-051-0/+2
| | | |
* | | | Refactor openshift_version behavior.Devan Goodwin2016-05-303-78/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-262-4/+12
| | | |
* | | | Preserve node versions on re-run.Devan Goodwin2016-05-252-5/+17
| | | |
* | | | Hookup node configuration.Devan Goodwin2016-05-252-7/+10
| | | |
* | | | 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.
* | / Conditionally bind mount /usr/bin/docker-current when it is present (#1941)Scott Dodson2016-05-242-2/+2
| |/ |/| | | | | | | | | | | | | | | | | * Conditionally bind mount /usr/bin/docker-current when it is present * fix upgrade * add atomic-openshift-node-dep files to uninstall playbook * Fix variable expansion
* | Merge pull request #1914 from jkroepke/patch-1Jason DeTiberus2016-05-181-2/+2
|\ \ | | | | | | Task "Update router image to current version" failed, if router not in default namespace
| * | Task "Update router image to current version" failed, if router not in ↵Jan-Otto Kröpke2016-05-181-2/+2
| | | | | | | | | | | | | | | default namespace Also added hardcoded -n default to registry patch, since oc get has -n default, too.
* | | Merge pull request #1918 from dgoodwin/docker-restartJason DeTiberus2016-05-181-1/+2
|\ \ \ | | | | | | | | Use systemctl restart docker instead of ansible service.