From 0d3e525f128942f24cc589bfb4bf29d989451510 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:29 -0400 Subject: [PATCH] Update link to one level higher --- create-local-repo.sh | 5 ++++- roles/pvc/files/ceph | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/create-local-repo.sh b/create-local-repo.sh index 5f948ea..c4f5727 100755 --- a/create-local-repo.sh +++ b/create-local-repo.sh @@ -25,12 +25,15 @@ echo "Creating directories and symlinks..." mkdir files group_vars roles ln -s ../pvc-ansible/files/default files/default ln -s ../pvc-ansible/group_vars/default group_vars/default -ln -s pvc-ansible/oneshot oneshot ln -s ../pvc-ansible/roles/base roles/base ln -s ../pvc-ansible/roles/pvc roles/pvc ln -s files ceph +cp -r pvc-ansible/oneshot oneshot cp pvc-ansible/pvc.yml . cp pvc-ansible/clusters.yml . +if [[ ! -d files/default ]]; then + cp -r pvc-ansible/files/default files/ +fi touch hosts cat <update-remote.sh #!/usr/bin/env bash diff --git a/roles/pvc/files/ceph b/roles/pvc/files/ceph index aa29175..84dafe8 120000 --- a/roles/pvc/files/ceph +++ b/roles/pvc/files/ceph @@ -1 +1 @@ -../../../files \ No newline at end of file +../../../../files \ No newline at end of file