summaryrefslogtreecommitdiffstats
path: root/ansible/roles/application-install/tasks/custom_role.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/application-install/tasks/custom_role.yml')
-rw-r--r--ansible/roles/application-install/tasks/custom_role.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ansible/roles/application-install/tasks/custom_role.yml b/ansible/roles/application-install/tasks/custom_role.yml
new file mode 100644
index 00000000..3c6237e3
--- /dev/null
+++ b/ansible/roles/application-install/tasks/custom_role.yml
@@ -0,0 +1,9 @@
+---
+# Caller fills application_custom_role variable with actual role name.
+- name: "Execute custom role {{ application_custom_role }} {{ phase }} Helm install."
+ include_role:
+ name: "{{ application_custom_role }}"
+ when:
+ - application_custom_role is defined
+ - application_custom_role is not none
+ - application_custom_role | trim != ''