summaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* Introduce 1.3/3.3 upgrade path.Devan Goodwin2016-07-252-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+.
* Merge pull request #2168 from dgoodwin/container-cli-speedScott Dodson2016-07-216-46/+147
|\ | | | | Copy openshift binary instead of using wrapper script.
| * Copy openshift binaries instead of using wrapper script.Devan Goodwin2016-07-213-44/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For containerized masters, we previously create a wrapper script to run the docker CLI image and clean up afterward, but this approach is much slower than having the binary on the native system. Instead we now use an ansible module to handle the logic of syncing the various OpenShift binaries and symlinks for client tools out onto the host. The module will correctly report changed if modifications were needed. Substantial speed improvement for containerized installs which requires many openshift/oc commands.
| * Stop reporting changes when docker pull is already up to date.Devan Goodwin2016-07-204-2/+12
| |
* | Check ansible version prior to evaluating cluster hosts and groups.Andrew Butcher2016-07-201-5/+0
| |
* | Merge pull request #2183 from dgoodwin/mismatch-msgScott Dodson2016-07-201-1/+1
|\ \ | | | | | | Slight modification to error when using mismatched openshift_release.
| * | Slight modification to error when using mismatched openshift_release.Devan Goodwin2016-07-201-1/+1
| | |
* | | Merge pull request #2177 from sdodson/image-stream-syncScott Dodson2016-07-209-13/+284
|\ \ \ | | | | | | | | Image stream sync, add jenkinstemplate
| * | | Add jenkinstemplateScott Dodson2016-07-192-0/+256
| | | |
| * | | Sync latest image streams and templatesScott Dodson2016-07-197-13/+28
| | | |
* | | | fix "databcase" typo in example rolesliangxia2016-07-201-1/+1
| |/ / |/| |
* | | Merge pull request #2179 from abutcher/router-cert-contentsScott Dodson2016-07-191-2/+2
|\ \ \ | | | | | | | | Check router certificate contents when securing router
| * | | Secure router only when openshift.hosted.router.certificate.contents exists.Andrew Butcher2016-07-191-2/+2
| |/ /
* | | Merge pull request #2175 from dgoodwin/origin-12-rpm-upgradeScott Dodson2016-07-191-0/+7
|\ \ \ | | | | | | | | Fix bugs with origin 1.2 rpm based upgrades.
| * | | Fix bugs with origin 1.2 rpm based upgrades.Devan Goodwin2016-07-191-0/+7
| | |/ | |/|
* | | We have proper ansible support and requirements in place now, de-revert this ↵Tim Bielawa2016-07-191-3/+40
| |/ |/| | | | | | | | | | | | | | | commit Revert "Merge pull request #2098 from openshift/revert-2087-speedy_example_copy" This reverts commit a7c5f41157e61d9478c0f46671347bc84401f2c7, reversing changes made to df9b208c3eb993d0d1f7c0e715fa4ef49261aa47.
* | Merge pull request #2173 from abutcher/warningsAndrew Butcher2016-07-191-3/+8
|\ \ | | | | | | Resolve some deprecation warnings.
| * | Resolve some deprecation warnings.Andrew Butcher2016-07-181-3/+8
| | |
* | | Merge pull request #1992 from abutcher/ansible-2Scott Dodson2016-07-181-3/+3
|\ \ \ | | | | | | | | Require ansible-2.1.0.0+
| * | | Require ansible-2.1Andrew Butcher2016-07-011-3/+3
| | | |
* | | | Temporarily link registry config templates for ansible 1.9.x support.Andrew Butcher2016-07-182-0/+2
| | | |
* | | | Remove relative lookup for registry config and check for skipped update in ↵Andrew Butcher2016-07-181-3/+3
| |_|/ |/| | | | | | | | registry redeploy conditional.
* | | Check for existence of sebooleans prior to setting.Andrew Butcher2016-07-182-8/+38
| |/ |/|
* | Merge pull request #2160 from sdodson/string-thingsScott Dodson2016-07-151-1/+5
|\ \ | | | | | | Convert openshift_release and openshift_version to strings for starts…
| * | Convert openshift_release and openshift_version to strings for startswithScott Dodson2016-07-151-1/+5
| | | | | | | | | | | | Fixes : startswith first arg must be str, unicode, or tuple, not float
* | | Clarify message when old docker pre-installed but 1.10+ requested.Devan Goodwin2016-07-151-1/+1
|/ /
* | Merge pull request #1945 from dgoodwin/upgrade33Scott Dodson2016-07-1432-119/+344
|\ \ | | | | | | openshift_release / version / upgrade improvements
| * \ Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-07-1459-259/+826
| |\ \
| * | | Fix upgrade with docker_version set.Devan Goodwin2016-07-141-3/+3
| | | |
| * | | Remove too recent pylint option keys.Devan Goodwin2016-07-131-2/+2
| | | |
| * | | pylint fixesDevan Goodwin2016-07-131-27/+26
| | | |
| * | | Fix more docker role logic.Devan Goodwin2016-07-131-2/+2
| | | |
| * | | Add checks to docker role for 1.9.1+.Devan Goodwin2016-07-131-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If Docker 1.8.2 is pre-installed, and no docker_version was requested, role will now error out because 1.9.1 is required. If docker_version is set to <= 1.9.1, we also error out as this is not supported.
| * | | Move repoquery_cmd fact setting into a more logical place.Devan Goodwin2016-07-112-4/+5
| | | |
| * | | Add dependency on docker to openshift_docker role.Devan Goodwin2016-07-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think this is intended anytime a role uses openshift_docker. Fixes issue where docker_version is ignored for rpm based installs. We made the dependency in openshift_version conditional to allow use of openshift_version without significantly impacting the system, however nothing ever actually ran the docker role after that, resulting in docker simply being installed via the rpm dependency on atomic-openshift.
| * | | Use proper startswith.Devan Goodwin2016-07-111-1/+1
| | | |
| * | | Remove/update TODOs.Devan Goodwin2016-07-083-6/+0
| | | |
| * | | Remove all debug used during devel of openshift_version.Devan Goodwin2016-07-085-30/+0
| | | |
| * | | Merge branch 'aoi-32-up' into upgrade33Devan Goodwin2016-07-0890-6/+40857
| |\ \ \
| * | | | Move repoquery fact definition to openshift_common.Devan Goodwin2016-07-071-0/+5
| | | | |
| * | | | Fixes for Ansible 2.1.Devan Goodwin2016-07-041-3/+6
| | | | |
| * | | | Merge branch 'master' into upgrade33Devan Goodwin2016-07-0410-59/+264
| |\ \ \ \
| * | | | | Fix unsafe bool usage.Devan Goodwin2016-07-041-1/+1
| | | | | |
| * | | | | Merge branch 'master' into upgrade33Devan Goodwin2016-06-289-8/+43
| |\ \ \ \ \
| * | | | | | Only nuke images when crossing the Docker 1.10 boundary in upgrade.Devan Goodwin2016-06-272-1/+2
| | | | | | |
| * | | | | | Merge branch 'master' into upgrade33Devan Goodwin2016-06-2317-201/+240
| |\ \ \ \ \ \
| * | | | | | | Add missing defaults file.Devan Goodwin2016-06-221-0/+2
| | | | | | | |
| * | | | | | | 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.
| * | | | | | | Support setting a docker version in inventory.Devan Goodwin2016-06-201-1/+36
| | | | | | | |
| * | | | | | | Fix version facts with trailing newline.Devan Goodwin2016-06-171-1/+1
| | | | | | | |