summaryrefslogtreecommitdiffstats
path: root/playbooks/common
Commit message (Collapse)AuthorAgeFilesLines
* Update docker upgrade playbook to be more flexible.Devan Goodwin2016-06-231-1/+0
| | | | | | | | | | Now more of a generic upgrade playbook to go to the latest Docker version. Added support for docker_version inventory variable, in which case we disable the check for >= 1.10 and make sure you're running at least the specified version. (we will not downgrade you to the requested version however, this is much too complicated)
* Merge branch 'master' into upgrade33Devan Goodwin2016-06-233-0/+14
|\
| * If registry_url != registry.access.redhat.com then modify image streamsScott Dodson2016-06-175-0/+5
| |
| * Merge pull request #2041 from dgoodwin/no-proxy-hostnamesScott Dodson2016-06-141-0/+12
| |\ | | | | | | Fix no proxy hostnames during upgrade.
| | * Fix no proxy hostnames during upgrade.Devan Goodwin2016-06-141-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | This value not being set was causing missing hostnames in the sysconfig files with NO_PROXY. This is not the same way we set it during config playbooks, they use vars definitions but this is too difficult in upgrade as there are too many roles that might need it set.
* | | Use common fact initialization include in upgrade.Devan Goodwin2016-06-211-2/+4
| | |
* | | Fix use of v3.2 format for openshift_release in upgrade.Devan Goodwin2016-06-211-0/+4
| | |
* | | Remove more legacy upgrade playbooks.Devan Goodwin2016-06-2114-157/+0
| | |
* | | Fix docker restarts during openshift_version role.Devan Goodwin2016-06-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Upgrade fixes.Devan Goodwin2016-06-172-26/+5
| | |
* | | Cleanup, fix 3.1 version bug in facts.Devan Goodwin2016-06-162-4/+3
| | |
* | | Remove old upgrade playbooks.Devan Goodwin2016-06-153-898/+0
| | |
* | | 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.