summaryrefslogtreecommitdiffstats
path: root/ansible/application.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/application.yml')
-rw-r--r--ansible/application.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/ansible/application.yml b/ansible/application.yml
new file mode 100644
index 00000000..bbac7e5c
--- /dev/null
+++ b/ansible/application.yml
@@ -0,0 +1,23 @@
+---
+- name: Setup nfs server
+ hosts: nfs-server
+ roles:
+ - {role: nfs, when: groups.kubernetes | length > 1 }
+
+- name: Setup nfs mounts
+ hosts: kubernetes:!nfs-server
+ roles:
+ - {role: nfs, when: groups.kubernetes | length > 1 }
+
+- name: Install Helm application {{ app_name }} into offline Kubernetes cluster
+ hosts: infrastructure
+ roles:
+ - role: application-install
+ vars:
+ phase: pre-install
+ - role: application-install
+ vars:
+ phase: install
+ - role: application-install
+ vars:
+ phase: post-install