create manifests directory if not exists

This commit is contained in:
nolte 2020-01-11 18:56:48 +01:00
parent 2aedce0359
commit cb13c5b473

View File

@ -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: