Setup Nextcloud again
This commit is contained in:
@@ -8,23 +8,23 @@
|
||||
name: "{{apps.nextcloud.namespace}}"
|
||||
api_version: v1
|
||||
kind: Namespace
|
||||
state: "{{apps.nextcloud.state}}"
|
||||
state: "{{present}}"
|
||||
become: true
|
||||
|
||||
|
||||
- name: create persistent volume resources
|
||||
kubernetes.core.k8s:
|
||||
kubeconfig: "/etc/rancher/k3s/k3s.yaml"
|
||||
state: "{{apps.nextcloud.state}}"
|
||||
state: "present"
|
||||
definition: "{{ lookup('template', item) | from_yaml }}"
|
||||
loop:
|
||||
- nextcloud/pv-apps.yaml
|
||||
- nextcloud/pv-data.yaml
|
||||
- nextcloud/pv-configs.yaml
|
||||
# - nextcloud/pv-apps.yaml
|
||||
# - nextcloud/pv-data.yaml
|
||||
# - nextcloud/pv-configs.yaml
|
||||
- nextcloud/pv-main.yaml
|
||||
- nextcloud/pv-apps-claim.yaml
|
||||
- nextcloud/pv-data-claim.yaml
|
||||
- nextcloud/pv-configs-claim.yaml
|
||||
# - nextcloud/pv-apps-claim.yaml
|
||||
# - nextcloud/pv-data-claim.yaml
|
||||
# - nextcloud/pv-configs-claim.yaml
|
||||
- nextcloud/pv-main-claim.yaml
|
||||
become: true
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
- name: Install Nextcloud Release
|
||||
local_action:
|
||||
module: kubernetes.core.helm
|
||||
release_state: "{{apps.nextcloud.state}}"
|
||||
release_state: "present"
|
||||
name: nextcloud
|
||||
namespace: "{{apps.nextcloud.namespace}}"
|
||||
create_namespace: yes
|
||||
|
||||
Reference in New Issue
Block a user