summaryrefslogtreecommitdiffstats
path: root/deployment/playbooks/prerequisite.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/playbooks/prerequisite.yaml')
-rw-r--r--deployment/playbooks/prerequisite.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/deployment/playbooks/prerequisite.yaml b/deployment/playbooks/prerequisite.yaml
new file mode 100644
index 00000000..5c7cc399
--- /dev/null
+++ b/deployment/playbooks/prerequisite.yaml
@@ -0,0 +1,26 @@
+---
+- hosts: cluster_hosts
+ gather_facts: yes
+ become: yes
+ vars_files:
+ - vars/main.yaml
+ roles:
+ - instance-groups
+ - package-repos
+
+- hosts: cluster_hosts
+ gather_facts: no
+ vars_files:
+ - vars/main.yaml
+ become: yes
+ roles:
+ - prerequisites
+
+- hosts: master
+ gather_facts: yes
+ vars_files:
+ - vars/main.yaml
+ become: yes
+ roles:
+ - master-prerequisites
+ - etcd-storage