diff options
author | Zohar Galor <zgalor@redhat.com> | 2017-09-19 15:02:15 +0300 |
---|---|---|
committer | Zohar Galor <zgalor@redhat.com> | 2017-10-16 20:46:07 +0300 |
commit | 418b742c365ef8dce4e14f9486ea658495029df3 (patch) | |
tree | f1308ab619eb9e717cd9e22b1834a3e30d4aa9b3 /playbooks/common | |
parent | a374775dac136986e83d852d43a04e9afd5d68db (diff) | |
download | openshift-418b742c365ef8dce4e14f9486ea658495029df3.tar.gz openshift-418b742c365ef8dce4e14f9486ea658495029df3.tar.bz2 openshift-418b742c365ef8dce4e14f9486ea658495029df3.tar.xz openshift-418b742c365ef8dce4e14f9486ea658495029df3.zip |
Fix prometheus role nfs
Allow for external or internal nfs.
use facts as used for logging and metrics.
Update prometheus-alertmanager image to v0.9.1
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-cluster/create_persistent_volumes.yml | 9 |
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: |