aboutsummaryrefslogtreecommitdiff
path: root/roles/cloud/tasks/main.yaml
blob: 4a3a1681140c3f34a0753f8765434ae65a0d9a70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- name: Deploy Cloud
  kubernetes.core.helm:
    name: cloud
    chart_ref: "{{ lookup('env', 'PWD') }}/roles/cloud/files/cloud"
    namespace: default
    state: "{%- if cloud.enabled -%} present {%- else -%} absent {%- endif -%}"
    values:
      image: filebrowser/filebrowser
      replicas: "{{ cloud.replicas }}"
      version: "{{ cloud.version }}"
      port: "{{ cloud.port }}"
      nfs:
        path: "{{ cloud.path }}"
        server: "{{ nfs.server }}"
  delegate_to: localhost
  run_once: true