forked from openshift/openshift-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GlusterFS: Tweak groups for external config
- Loading branch information
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
--- | ||
- import_playbook: ../init/main.yml | ||
vars: | ||
l_init_fact_hosts: "oo_masters_to_config:oo_nodes_to_config:oo_glusterfs_to_config" | ||
# We need facts on all nodes since we need to check (on RPM installs) that | ||
# glusterfs-fuse is available across the cluster. | ||
l_init_fact_hosts: "oo_masters_to_config:oo_nodes_to_config" | ||
# We only want sanity and base packages on OpenShift nodes that will be | ||
# GlusterFS nodes, as they may be new nodes to the OpenShift cluster. | ||
l_glusterfs_nodes: "{{ groups['oo_nodes_to_config'] | intersect(groups['oo_glusterfs_to_config']) }}" | ||
l_openshift_version_set_hosts: "oo_masters_to_config:!oo_first_master" | ||
l_sanity_check_hosts: "{{ groups['oo_masters_to_config'] | union(groups['oo_glusterfs_to_config']) }}" | ||
l_sanity_check_hosts: "{{ groups['oo_masters_to_config'] | union(l_glusterfs_nodes) }}" | ||
l_install_base_packages: True | ||
l_base_packages_hosts: "oo_nodes_to_configi:&oo_glusterfs_to_config" | ||
l_base_packages_hosts: "oo_nodes_to_config:&oo_glusterfs_to_config" | ||
|
||
- import_playbook: private/config.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,6 +94,9 @@ localhost | |
[oo_nfs_to_config] | ||
localhost | ||
|
||
[oo_glusterfs_to_config] | ||
localhost | ||
|
||
[glusterfs] | ||
localhost | ||
|
||
|