summaryrefslogtreecommitdiffstats
path: root/deployment/playbooks/ocp-configure.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/playbooks/ocp-configure.yaml')
-rw-r--r--deployment/playbooks/ocp-configure.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/deployment/playbooks/ocp-configure.yaml b/deployment/playbooks/ocp-configure.yaml
new file mode 100644
index 00000000..7a59f9ed
--- /dev/null
+++ b/deployment/playbooks/ocp-configure.yaml
@@ -0,0 +1,33 @@
+---
+- hosts: localhost
+ gather_facts: yes
+ vars_files:
+ - vars/main.yaml
+ roles:
+ # Group systems
+ - instance-groups
+
+- hosts: master
+ gather_facts: yes
+ vars_files:
+ - vars/main.yaml
+ tasks:
+ - name: Enable Gluster 3 repo
+ import_role:
+ name: enable-gluster-repo
+ - name: Install heketi client for CNS and CRS needs
+ package:
+ name: heketi-client
+ state: latest
+ retries: 5
+ delay: 5
+ register: result
+ until: result is succeeded
+
+- hosts: single_master
+ gather_facts: no
+ vars_files:
+ - vars/main.yaml
+ roles:
+ - instance-groups
+ - storage-class-configure