summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-18 07:47:40 -0400
committerGitHub <noreply@github.com>2017-10-18 07:47:40 -0400
commit5ff1e1bec64ea99830003a7f7d44de0ac1e65a57 (patch)
tree2b8d7ea06be949aadab22b7a09db35263ad7c28b /playbooks/common
parente007bc8a9b397331f008586dcc3b2ee7d29978ad (diff)
parent418b742c365ef8dce4e14f9486ea658495029df3 (diff)
downloadopenshift-5ff1e1bec64ea99830003a7f7d44de0ac1e65a57.tar.gz
openshift-5ff1e1bec64ea99830003a7f7d44de0ac1e65a57.tar.bz2
openshift-5ff1e1bec64ea99830003a7f7d44de0ac1e65a57.tar.xz
openshift-5ff1e1bec64ea99830003a7f7d44de0ac1e65a57.zip
Merge pull request #5459 from zgalor/nfs_fix
Fix prometheus role nfs
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/create_persistent_volumes.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/create_persistent_volumes.yml b/playbooks/common/openshift-cluster/create_persistent_volumes.yml
index 8a60a30b8..ec6f2c52c 100644
--- a/playbooks/common/openshift-cluster/create_persistent_volumes.yml
+++ b/playbooks/common/openshift-cluster/create_persistent_volumes.yml
@@ -1,4 +1,13 @@
---
+- name: Create persistent volumes
+ hosts: oo_first_master
+ vars:
+ persistent_volumes: "{{ hostvars[groups.oo_first_master.0] | oo_persistent_volumes(groups) }}"
+ persistent_volume_claims: "{{ hostvars[groups.oo_first_master.0] | oo_persistent_volume_claims }}"
+ tasks:
+ - debug: var=persistent_volumes
+ - debug: var=persistent_volume_claims
+
- name: Create Hosted Resources - persistent volumes
hosts: oo_first_master
vars: