This commit is contained in:
parent
2451ae0d2f
commit
427d3af40f
12 changed files with 10 additions and 147 deletions
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
- name: CSI Cert Manager Setup
|
||||
block:
|
||||
- name: Include vars for CSI
|
||||
include_vars: "files_list_csi.yml"
|
||||
|
||||
- name: Define state to present
|
||||
set_fact:
|
||||
certmanager_csi_state: "present"
|
||||
|
|
@ -20,10 +17,10 @@
|
|||
k8s:
|
||||
state: "{{ certmanager_csi_state }}"
|
||||
context: "{{ my_context }}"
|
||||
merge_type: merge
|
||||
resource_definition: "{{ lookup('file', item) | from_yaml }}"
|
||||
apply: true
|
||||
definition: "{{ item }}"
|
||||
with_items:
|
||||
- '{{ certmanager_csi_list }}'
|
||||
- "{{ lookup('url', certmanager_csi_driver_url, split_lines=False) | from_yaml_all | list }}"
|
||||
tags:
|
||||
- cert-manager
|
||||
- storage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue