From 9f2ac7c214aa71823632913f3ed011b857e6eb92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20H=C3=B6sel?= Date: Thu, 15 Oct 2020 21:49:22 +0200 Subject: [PATCH] Fix template creation not working on non-local storage --- galaxy.yml | 2 +- roles/lxc_container_to_ostemplate/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index 6519f3d..7a25ee2 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -9,7 +9,7 @@ namespace: maxhoesel name: proxmox # The version of the collection. Must be compatible with semantic versioning -version: 2.0.1 +version: 2.0.2 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/roles/lxc_container_to_ostemplate/tasks/main.yml b/roles/lxc_container_to_ostemplate/tasks/main.yml index d22d5c8..e521a43 100644 --- a/roles/lxc_container_to_ostemplate/tasks/main.yml +++ b/roles/lxc_container_to_ostemplate/tasks/main.yml @@ -6,7 +6,7 @@ when: lxcostemplate_storage == "local" - name: Set storage basepath for non-local set_fact: - lxcostemplate_storage_path: /mnt/pve/template/cache + lxcostemplate_storage_path: '/mnt/pve/{{ lxcostemplate_storage }}/template/cache' when: lxcostemplate_storage != "local" - include: prepare.yml