summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
Commit message (Collapse)AuthorAgeFilesLines
* Block Docker 1.10 upgrade playbook when run against an Atomic OS.Devan Goodwin2016-06-171-4/+5
|
* 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.
* 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
| |
* | Use deployment_type, not openshift_deployment_typePep Turró Mauri2015-08-031-2/+2
| | | | | | | | This seems to be what's used in other places
* | Move rhel_subscribe tasks to its own playbookPep Turró Mauri2015-08-032-11/+13
| | | | | | | | Allows reuse out of vagrant, e.g. to subscribe systems by its own
* | Deploying enterprise with VagrantPep Turró Mauri2015-08-031-0/+14
|/
* Playbook updates for clustered etcdJason DeTiberus2015-07-1010-52/+10
| | | | | | | | | | | | | | | | | | | | | - Add support to bin/cluster for specifying etcd hosts - defaults to 0, if no etcd hosts are selected, then configures embedded etcd - Updates for the byo inventory file for etcd and master as node by default - Consolidation of cluster logic more centrally into common playbook - Added etcd config support to playbooks - Restructured byo playbooks to leverage the common openshift-cluster playbook - Added support to common master playbook to generate and apply external etcd client certs from the etcd ca - start of refactor for better handling of master certs in a multi-master environment. - added the openshift_master_ca and openshift_master_certificates roles to manage master certs instead of generating them in the openshift_master role - added etcd host groups to the cluster update playbooks - aded better handling of host groups when they are either not present or are empty. - Update AWS readme
* Etcd role updates and playbook updatesJason DeTiberus2015-07-106-31/+0
| | | | | | | | | | | | | | | | | | | | | - fix firewall conflict issues with co-located etcd and openshift hosts - added os_firewall dependency to etcd role - updated etcd template to better handle clustered and non-clustered installs - added etcd_ca role - generates a self-signed cert to manage etcd certificates, since etcd peer certificates are required to be client and server certs and the openshift ca will only generate client or server certs (not one authorized for both). - renamed openshift_etcd_certs role to etcd_certificates and updated it to manage certificates generated from the CA managed by the etcd_ca role - remove hard coded etcd_port in openshift_facts - updates for the openshift-etcd common playbook - removed etcd and openshift-etcd playbooks from the byo playbooks directory - added a common playbook for setting etcd launch facts - added an openshift-etcd common service playbook - removed unused variables - fixed tests for embedded_{etcd,dns,kube} in openshift_master - removed old workaround for reloading systemd units
* Add etcd role that builds out basic etcd clusterScott Dodson2015-07-107-0/+35
| | | | | | - Add initial etcd role - Add etcd playbook to create etcd client certs - Hookup master to etcd