This commit is contained in:
Nicolas Meienberger 2022-05-13 17:47:44 +02:00
parent 6859d228ab
commit 4a725b3e85
2 changed files with 1 additions and 4 deletions

View File

@ -40,7 +40,6 @@
- docker-ce-cli
- containerd.io
state: latest
when: ansible_os_family == "Debian"
- name: Check if docker-compose is installed
stat:

View File

@ -63,11 +63,9 @@ PUID="$(id -u)"
PGID="$(id -g)"
TZ="$(cat /etc/timezone | sed 's/\//\\\//g' || echo "Europe/Berlin")"
# Copy the app state if it isn't here
if [[ ! -f "${STATE_FOLDER}/apps.json" ]]; then
cp "${ROOT_FOLDER}/templates/apps-sample.json" "${STATE_FOLDER}/apps.json" && chown -R "1000:1000" "${STATE_FOLDER}/users.json"
cp "${ROOT_FOLDER}/templates/apps-sample.json" "${STATE_FOLDER}/apps.json" && chown -R "1000:1000" "${STATE_FOLDER}/apps.json"
fi
# Copy the user state if it isn't here