fixes bug, change tags structure
This commit is contained in:
parent
22060ce241
commit
c20b1ce29a
1 changed files with 25 additions and 20 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
---
|
---
|
||||||
|
- name: CSI Cert Manager Setup
|
||||||
|
block:
|
||||||
- set_fact:
|
- set_fact:
|
||||||
certmanager_csi_state: "present"
|
certmanager_csi_state: "present"
|
||||||
when:
|
when:
|
||||||
|
|
@ -14,10 +16,13 @@
|
||||||
state: "{{ certmanager_csi_state }}"
|
state: "{{ certmanager_csi_state }}"
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
merge_type: merge
|
merge_type: merge
|
||||||
resource_definition: "{{ lookup('files', item) | from_yaml }}"
|
resource_definition: "{{ lookup('file', item) | from_yaml }}"
|
||||||
with_items:
|
with_items:
|
||||||
- "csi/csi.cert-manager.io-CSIDriver.yaml"
|
- "csi/csi.cert-manager.io-CSIDriver.yaml"
|
||||||
- "csi/cert-manager-csi-ServiceAccount.yaml"
|
- "csi/cert-manager-csi-ServiceAccount.yaml"
|
||||||
- "csi/cert-manager-csi-ClusterRole.yaml"
|
- "csi/cert-manager-csi-ClusterRole.yaml"
|
||||||
- "csi/cert-manager-csi-ClusterRoleBinding.yaml"
|
- "csi/cert-manager-csi-ClusterRoleBinding.yaml"
|
||||||
- "csi/cert-manager-csi-DaemonSet.yaml"
|
- "csi/cert-manager-csi-DaemonSet.yaml"
|
||||||
|
tags:
|
||||||
|
- certmanager
|
||||||
|
- storage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue