summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/evaluate_groups.yml
Commit message (Collapse)AuthorAgeFilesLines
* Fix syntax for when statementRodolfo Carvalho2017-08-101-1/+1
| | | | | | | | Without that, playbook runs print warnings such as this: [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_etcd_hosts is not defined and g_new_etcd_hosts is not defined}}
* Merge pull request #3043 from jkhelil/scaleup_etcdScott Dodson2017-08-021-3/+12
|\ | | | | Add etcd scaleup playbook
| * add etcd scaleup playbookjawed2017-06-151-3/+12
| |
* | attach leases via the first master only and only onceJan Chaloupka2017-06-281-0/+9
|/ | | | | | - move openshift-etcd/migrate.yml from byo to common and keep just the entry point - replace std_include with essential plays (e.g. no need to detect openshift version) - delegate the ttl re-attaching to the first master
* Fix possible access to undefined variableRodolfo Carvalho2017-06-121-1/+1
| | | | | | | | | | | | g_glusterfs_hosts is verified to be defined in the beginning of the playbook. g_glusterfs_registry_hosts is only defined when playbooks/byo/openshift-cluster/cluster_hosts.yml is loaded, which seems to not always be the case. Instead of trying to find all entrypoints where cluster_hosts should be loaded to defined the variable, simply use the `default()` filter to consider it empty when not defined.
* GlusterFS: Allow for a separate registry-specific playbookJose A. Rivera2017-05-041-1/+1
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* etcd Upgrade RefactorRussell Teague2017-05-021-30/+55
| | | | | | * Renaming etcd_hosts_to_* to oo_etcd_hosts_to* * Moving host group evaluation to evaluate_groups.yml * Removing duplicate evaluate_groups.yml usage
* Don't double quote when conditionsScott Dodson2017-05-011-10/+10
|
* Remove jinja template delimeters from when conditionsScott Dodson2017-05-011-10/+10
| | | | | | In ansible 2.3 "[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ g_glusterfs_hosts is not defined }}"
* Integrate GlusterFS into OpenShift installationJose A. Rivera2017-04-101-0/+13
| | | | Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
* Fix templatingJason DeTiberus2016-12-061-9/+9
|
* do not report changed for group mappingJason DeTiberus2016-11-291-1/+11
|
* Fix the “node on master” featureLénaïc Huard2016-08-191-1/+1
| | | | | | | | | | | | | What we want to do is to add the master as a node if: * `g_nodeonmaster` is set to true, and * we are not in the case where we want to add new nodes. The second test was done by only checking whether `g_new_node_hosts` was defined. This was wrong because, in all cloud-provider setups, this variable was set with the default value of “empty list” (`[]`). The test has been changed to use the `bool` filter so that it correctly evaluates to false (and hence, effectively add the master as a node) when `g_new_node_hosts` is the empty list.
* Resolve some deprecation warnings.Andrew Butcher2016-07-181-1/+1
|
* a-o-i: Populate groups for openshift_factsSamuel Munilla2016-04-271-1/+1
| | | | | openshift_facts is currently failing because it doesn't properly set up groups after the proxy changes we made. This fixes that.
* Replace deprecated sudo with become.Andrew Butcher2016-04-251-9/+9
|
* Docker role refactorJason DeTiberus2016-03-141-0/+8
| | | | | | | | | | | | | | | - 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
* Move additional master configuration into a separate master playbook.Andrew Butcher2016-02-161-10/+3
|
* Add new_masters to scaleup playbook.Andrew Butcher2016-02-161-3/+14
|
* Add g_new_node_hosts to cluster_hosts.Andrew Butcher2016-02-021-1/+1
|
* Create nfs host group with registry volume attachment.Andrew Butcher2015-12-151-0/+16
|
* Merge pull request #1028 from kwoodson/remove_env_host_typeKenny Woodson2015-12-141-21/+21
|\ | | | | Removing env-host-type in preparation of env and environment changes.
| * Updating env-host-type to host patternsKenny Woodson2015-12-111-21/+21
| |
* | Enforce connection: local and become: no on all localhost playsJason DeTiberus2015-11-301-0/+2
|/
* Improve scaleup playbookJason DeTiberus2015-11-241-4/+9
| | | | | | | | - 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.
* Fix lb group related errorsJason DeTiberus2015-11-051-3/+7
|
* Various HA changes for pacemaker and native methods.Andrew Butcher2015-11-051-0/+8
|
* Refactor common group evaluation to avoid duplicationJason DeTiberus2015-11-041-0/+64