aboutsummaryrefslogtreecommitdiff
path: root/roles/fishnet/tasks/main.yaml
blob: 57e8b7ef0d854d17978c4721bd9e06723f2c56cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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