summaryrefslogtreecommitdiff
path: root/playbooks/common
AgeCommit message (Collapse)Author
2016-04-11Add support for creating secure router.Andrew Butcher
* Move openshift_router to openshift_hosted role which will eventually contain registry, metrics and logging. * Adds option for specifying an openshift_hosted_router_certificate cert and key pair. * Removes dependency on node label variables and retrieves the node list from the API s.t. this role can be applied to any cluster with existing nodes. I've added an openshift_hosted playbook that occurs after node install to account for this. * Infrastructure nodes are selected using openshift_hosted_router_selector which is based on deployment type by default; openshift-enterprise -> "region=infra" and online -> "type=infra".
2016-04-06Merge pull request #1695 from brenton/bz1323123Brenton Leanhardt
Fixing bugs 1322788 and 1323123
2016-04-05Merge pull request #1700 from brenton/32haBrenton Leanhardt
Pacemaker is unsupported for 3.2
2016-04-05Merge pull request #1577 from brenton/docker19Brenton Leanhardt
We require docker 1.9 for the 3.2 upgrade
2016-04-04Pacemaker is unsupported for 3.2Brenton Leanhardt
2016-04-01Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api ↵Brenton Leanhardt
and atomic-openshift-master-controllers
2016-03-31Bug 1320829 - Ensure docker installed for factsJason DeTiberus
- 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
2016-03-31Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api ↵Brenton Leanhardt
and atomic-openshift-master-controllers
2016-03-30Bug 1322338 - The upgrade should keep the option insecure-registry=172.30.0.0/16Brenton Leanhardt
2016-03-29Use openshift.master.ha instead of duplicating the logicBrenton Leanhardt
2016-03-29Workaround for authenticated registriesBrenton Leanhardt
Currently there's no good way to install from a registry that requires authentication. This applies both to RPM and containerized installs: https://bugzilla.redhat.com/show_bug.cgi?id=1316341 The workaround is to 'docker login' as root and then have ansible pull the images to the image cache.
2016-03-29First pass at systemd unit refactorBrenton Leanhardt
2016-03-21Lock down permissions on named certificatesEli Young
2016-03-17Merge pull request #1614 from detiber/bz1317755Brenton Leanhardt
Bug 1317755 - Set insecure-registry for internal registry by default
2016-03-17Bug 1317755 - Set insecure-registry for internal registry by defaultJason DeTiberus
2016-03-16Fix path to cacert on /healthz/ready checkScott Dodson
2016-03-15Provide cacert when performing health checksAndrew Butcher
2016-03-15Move common common facts to openshift_factsJason DeTiberus
- Prevents roles that need common facts from needing to require openshift_common, which pulls in the openshift binary. - Add dependency on openshift_facts to os_firewall, since it uses openshift.common facts
2016-03-14Docker stderr can break this script if ansible executes it remotelyBrenton Leanhardt
2016-03-14Handle HA master caseBrenton Leanhardt
2016-03-14Bug 1315564 - Containerized installs require a running environmentBrenton Leanhardt
If the master or node aren't running we can't determine the correct version that is currently installed.
2016-03-14Bug 1316761 - Skip the available version check if openshift_image_tag is ↵Brenton Leanhardt
defined. We already have a check in pre.yml to make sure openshift_image_tag is set to a range that is allowed. This is an advanced setting and should be used to override whatever is returned by the 'latest' image in a given registry.
2016-03-14Docker role refactorJason DeTiberus
- refactors the docker role to push generic config into docker role and wrap openshift specific variables into an openshift_docker role and it's dependent openshift_docker_facts role - adds support for setting --confirm-def-push flag (Resolves https://github.com/openshift/openshift-ansible/issues/1014) - moves docker related facts from common/node roles to a new docker role - renames cli_docker_* role varialbes to openshift_docker-* (maintaining backward compatibility) - update role dependencies to pull in openshift_docker conditionally based on is_containerized - remove playbooks/common/openshift-docker since the docker role is now conditionally included
2016-03-09We require docker 1.9 for the 3.2 upgradeBrenton Leanhardt
2016-03-09Bug 1315564 - upgrade to ose3.2 failed on Atomic HostsBrenton Leanhardt
2016-03-09Bug 1315563 - Upgrade failed to containerized install OSE 3.1 on RHELBrenton Leanhardt
Previously I was greping for 'ose' in the systemd units. That was only working on my machine because my Nodes were also Masters. It's safer to grep for openshift3 since that would be present for Masters or Nodes.
2016-03-08Merge pull request #1569 from brenton/masterBrenton Leanhardt
reverting back to pre-pulling the master image
2016-03-08Merge branch 'wait-all-the-time' of ↵Brenton Leanhardt
https://github.com/abutcher/openshift-ansible
2016-03-08Bug 1315563 - stdout IO redirection wasn't working as expected over SSH ↵Brenton Leanhardt
connections Bug 1315563 - Upgrade failed to containerized install OSE 3.1 on RHEL
2016-03-08Merge pull request #1567 from brenton/bz1315637Brenton Leanhardt
Bug 1315637 - The docker wasn't upgraded on node during upgrade
2016-03-08Bug 1315637 - The docker wasn't upgraded on node during upgradeBrenton Leanhardt
2016-03-08Bug 1315564 - upgrade to ose3.2 failed on Atomic HostsBrenton Leanhardt
2016-03-08Use /healthz/ready when verifying apiAndrew Butcher
2016-03-07Merge pull request #1559 from brenton/bz1315151Brenton Leanhardt
BZ1315151: Support openshift_image_tag
2016-03-07Support openshift_image_tagBrenton Leanhardt
This is the containerized openshift_pkg_version equivalent. Originally I was hoping to reuse openshift_pkg_version for containerized installs but the fact that it's very coupled to yum made that pretty ugly. However, I did opt to rely on the previously existing 'openshift_version' variable. Containerized and RPM installs can both use that variable and it will be set appropriately if either openshift_pkg_version or openshift_image_tag are set. I suspect someday containerized installs will be the only option and I didn't can to have thinkgs like openshift_pkg_version and openshift_image_tag in the playbooks anymore the necessary.
2016-03-07Add setting for configuring nofile limit for haproxyJason DeTiberus
2016-03-04Bug 1314645 - Upgrade failed with "One or more undefined variables 'dict ↵Brenton Leanhardt
object' has no attribute 'stdout'"
2016-03-03Adding verify_upgrade_version variable for upgrade debuggingBrenton Leanhardt
2016-03-03Correctly set the image tag for containerized installs (and upgrades)Brenton Leanhardt
2016-03-03First past at the upgrade processBrenton Leanhardt
2016-02-29Increase maxconn settings for haproxy lbJason DeTiberus
2016-02-25Merge pull request #1462 from jkhelil/configure_log_level_from_cliBrenton Leanhardt
configure debug_level for master and node from cli
2016-02-25Merge pull request #1469 from talset/playbook_upgradeBrenton Leanhardt
Add missing is_atomic condition in the upgrade playbook
2016-02-25Change is_atomic to is_containerizedtalset
* Update playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml * Change is_atomic by is_containerized in order to take care about container openshift without atomic
2016-02-24Pass registry claim to openshift_registry.Andrew Butcher
2016-02-23Add missing is_atomic condition on upgrade packagetalset
* Update playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml * Add when not is_atomic on yum upgrade on master and node to be able to run the playbook on atomic host
2016-02-23configure debug_level for master and node from clijawed
2016-02-16Add openshift_docker roles to master/node scaleup.Andrew Butcher
2016-02-16Add modify_yaml module.Andrew Butcher
2016-02-16Re-arrange scaleup playbooks.Andrew Butcher