summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into upgrade33Devan Goodwin2016-06-281-2/+1
|\
| * Block Docker 1.10 upgrade playbook when run against an Atomic OS.Devan Goodwin2016-06-171-4/+5
| |
* | More docker upgrade fixes.Devan Goodwin2016-06-271-5/+7
| |
* | Refactor 3.2 upgrade to avoid killing nodes without evac.Devan Goodwin2016-06-232-108/+3
| | | | | | | | | | We now handle the two pieces of upgrade that require a node evac in the same play. (docker, and node itself)
* | Update docker upgrade playbook to be more flexible.Devan Goodwin2016-06-231-18/+41
| | | | | | | | | | | | | | | | | | | | 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-231-2/+2
|\|
| * Fix docker 1.10 upgrade on embedded etcd masters.Devan Goodwin2016-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | The tasks were attempting to stop/start etcd, which would be fine on the stop but on start could actually kick the non-containerized etcd service which happens to be layed down even though it's unused. When the service was requested to start again it would claim the port embedded etcd needs and the master would then fail to come up. Instead use the correct etcd_container service.
* | Remove old upgrade playbooks.Devan Goodwin2016-06-153-88/+0
|/
* Restore mistakenly reverted code.Devan Goodwin2016-06-091-0/+4
|
* Docker 1.10 UpgradeDevan Goodwin2016-06-035-4/+158
| | | | | | | | | | | | | | | | | 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.
* Run rhel_subscribe on l_oo_all_hosts rather than allScott Dodson2016-06-021-1/+1
|
* Fix for ansible v2Scott Dodson2016-05-171-3/+17
|
* Fix rhel_subscribeScott Dodson2016-05-171-0/+4
|
* remove interpolated g_all_hosts with_items arg from upgrade playbooksCody Boggs2016-05-173-3/+3
|
* Block upgrading w/ ansible v2.Andrew Butcher2016-05-124-0/+16
|
* Remove vars_files on play includes for upgrade playbooks.Andrew Butcher2016-05-124-26/+72
|
* Merge pull request #1869 from dgoodwin/upgrade-registriesJason DeTiberus2016-05-091-0/+25
|\ | | | | Fix cli_docker_additional_registries being erased during upgrade.
| * Fix cli_docker_additional_registries being erased during upgrade.Devan Goodwin2016-05-091-0/+25
| | | | | | | | | | | | Legacy options (cli_*) were not being migrated during upgrade. Add the oo_all_hosts group, and migrate the facts as we do in the normal cluster playbooks.
* | Enable dnsmasq on all hostsScott Dodson2016-05-061-0/+18
|/ | | | | | - Reconfigures masters to use port 8053 for SkyDNS - Runs openshift_node_dnsmasq role on all nodes - Reconfigures node to use dnsmasq
* Remove vars_files on play includes for byo, scaleup and restart playbooks.Andrew Butcher2016-05-055-10/+74
|
* a-o-i: Populate groups for openshift_factsSamuel Munilla2016-04-271-0/+10
| | | | | openshift_facts is currently failing because it doesn't properly set up groups after the proxy changes we made. This fixes that.
* Docker role refactorJason DeTiberus2016-03-141-1/+3
| | | | | | | | | | | | | | | - 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
* Set g_new_master_hosts in upgrade playbooks.Andrew Butcher2016-03-073-0/+3
|
* upgrade README fixesBrenton Leanhardt2016-03-032-2/+0
|
* Adding newly required variableBrenton Leanhardt2016-03-031-0/+1
|
* First past at the upgrade processBrenton Leanhardt2016-03-032-0/+35
|
* Re-arrange scaleup playbooks.Andrew Butcher2016-02-165-1/+12
|
* Move additional master configuration into a separate master playbook.Andrew Butcher2016-02-161-2/+0
|
* Add new_masters to scaleup playbook.Andrew Butcher2016-02-161-0/+4
|
* Merge pull request #1364 from codificat/openshift-enterpriseBrenton Leanhardt2016-02-101-1/+1
|\ | | | | Add missing atomic- and openshift-enterprise
| * Add missing atomic- and openshift-enterprisePep TurrĂ³ Mauri2016-02-091-1/+1
| | | | | | | | | | | | Some checks related to *enterprise deployments were still only looking for "enterprise" deployment_type. Update them to cover also atomic-enterprise and openshift-enterprise deployment types.
* | Merge pull request #1173 from abutcher/nfs-groupBrenton Leanhardt2016-02-031-0/+1
|\ \ | |/ |/| Refactor storage options
| * Refactor registry storage options.Andrew Butcher2016-02-011-0/+1
| |
* | Add g_new_node_hosts to cluster_hosts.Andrew Butcher2016-02-021-0/+2
|/
* 3.1.1 upgrade playbookBrenton Leanhardt2016-01-132-0/+31
|
* Update rolling restart playbook for pacemaker support.Andrew Butcher2016-01-115-7/+7
| | | | | Replace fail with a warn and prompt if running ansible from a host that will be rebooted. Re-organize playbooks.
* Implement simple master rolling restarts.Devan Goodwin2016-01-111-0/+7
| | | | | | Blocks running ansible on a host that will be restarted. Can restart just services, or optionally the full system.
* Setting relative paths in the upgrade playbooks wasn't workingBrenton Leanhardt2016-01-062-2/+2
|
* Fix error in byo cluster_hosts.ymlJason DeTiberus2016-01-041-2/+4
|
* Cleanup and fixes for cluster_id changeJason DeTiberus2016-01-045-11/+21
| | | | | | | | | - Move debug_level into vars.yml and byo inventory - change variables in cluster_hosts.yml to be g_* and update playbooks to use those values directly instead of setting them indirectly - added a new g_all_hosts entry in cluster_hosts to use in the update playbook instead of unioning all host types within the playbook - added a cluster_hosts.yml for the byo playbook
* Removing environment and env tags.Kenny Woodson2016-01-041-1/+1
|
* Create nfs host group with registry volume attachment.Andrew Butcher2015-12-153-0/+3
|
* Updating env-host-type to host patternsKenny Woodson2015-12-114-16/+16
|
* Fix openshift_facts playbook for yum/dnf changesJason DeTiberus2015-12-021-2/+1
|
* Improve scaleup playbookJason DeTiberus2015-11-241-0/+10
| | | | | | | | - modify evaluate host to set oo_nodes_to_config to a new variable g_new_nodes_group if defined rather than g_nodes_group and also skip adding the master when g_new_nodes_group is set. - Remove byo specific naming from playbooks/common/openshift-cluster/scaleup.yml and created a new playbooks/byo/openshift-cluster/scaleup.yml playbook.
* Refactor upgrade playbook(s)Jason DeTiberus2015-11-105-0/+64
| | | | | | | | | | | | | - Split playbooks into two, one for 3.0 minor upgrades and one for 3.0 to 3.1 upgrades - Move upgrade playbooks to common/openshift/cluster/upgrades from adhoc - Added a byo wrapper playbooks to set the groups based on the byo conventions, other providers will need similar playbooks added eventually - installer wrapper updates for refactored upgrade playbooks - call new 3.0 to 3.1 upgrade playbook - various fixes for edge cases I hit with a really old config laying around. - fix output of host facts to show connect_to value.
* additional ha related updatesJason DeTiberus2015-11-041-0/+1
|
* Atomic Enterprise related changes.Avesh Agarwal2015-08-261-1/+1
|
* Merge pull request #405 from sdodson/loglevel2Brenton Leanhardt2015-08-171-1/+1
|\ | | | | Set loglevel=2 as our default across the board
| * Set loglevel=2 as our default across the boardScott Dodson2015-07-291-1/+1
| |