aboutsummaryrefslogtreecommitdiff
path: root/roles/fishnet/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/fishnet/tasks/main.yaml')
-rw-r--r--roles/fishnet/tasks/main.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/fishnet/tasks/main.yaml b/roles/fishnet/tasks/main.yaml
new file mode 100644
index 0000000..57e8b7e
--- /dev/null
+++ b/roles/fishnet/tasks/main.yaml
@@ -0,0 +1,12 @@
+---
+- name: Deploy Fishnet
+ kubernetes.core.helm:
+ name: fishnet
+ chart_ref: "{{ lookup('env', 'PWD') }}/roles/fishnet/files/fishnet"
+ namespace: default
+ state: "{%- if fishnet.enabled -%} present {%- else -%} absent {%- endif -%}"
+ values:
+ replicas: "{{ fishnet.replicas }}"
+ key: "{{ fishnet.key }}"
+ delegate_to: localhost
+ run_once: true