From cf1d8114e22eeae7e2f82053b18f75d2809ab70c Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:27 -0400 Subject: [PATCH] Add note about moving files up --- create-local-repo.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/create-local-repo.sh b/create-local-repo.sh index 2d7a116..a271c14 100755 --- a/create-local-repo.sh +++ b/create-local-repo.sh @@ -70,3 +70,11 @@ echo -e "* An empty 'hosts' inventory along with empty 'group_vars' and 'files'" echo -e " directories have also been prepared; edit these as required." echo -e "* You may use the 'update-remote.sh' script in this new repository to keep your" echo -e " copy of pvc-ansible updated, or use normal git commands to do so." +echo -e "* IMPORTANT: Whenever Ansible creates a new cluster, or if you do so manually," +echo -e " you must move the files from 'pvc-ansible/files/' to 'files/', AND replace" +echo -e " them with a symlink like so:" +echo -e " cd pvc-ansible/files/" +echo -e " mv cluster ../../files/" +echo -e " ln -s ../../files/cluster" +echo -e " If you do not do so, the files will not be committed and future runs of the" +echo -e " playbooks will not work properly due to how Ansible looks up files."