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