mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2025-01-06 09:40:19 +01:00
create manifests directory if not exists
This commit is contained in:
parent
2aedce0359
commit
cb13c5b473
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
---
|
||||
|
||||
- name: ensure that the manifests directory exists, if required
|
||||
file:
|
||||
state: directory
|
||||
path: "{{ k3s_server_manifests_dir }}"
|
||||
when: k3s_server_manifests_templates | length > 0
|
||||
|
||||
# https://rancher.com/docs/k3s/latest/en/advanced/#auto-deploying-manifests
|
||||
- name: Copy Auto-Deploying Manifests to Cluster
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue