From e493b4812f9d250ae3c660623ae155f45367eecb Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Mon, 1 Aug 2022 13:09:33 +0100 Subject: [PATCH] switch order of sudo and git --- ansible/homelab/playbooks/restore-all.yml | 2 ++ ansible/homelab/playbooks/setup-home-lab.yml | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ansible/homelab/playbooks/restore-all.yml b/ansible/homelab/playbooks/restore-all.yml index 2db032b..bf77335 100644 --- a/ansible/homelab/playbooks/restore-all.yml +++ b/ansible/homelab/playbooks/restore-all.yml @@ -9,6 +9,8 @@ # If a container does not exist, the volume will be still be created. ### +# TODO: here instead we can probably iterate through all containers with the backup label. + --- - name: Redeploy Portainer and All Volumes hosts: servers diff --git a/ansible/homelab/playbooks/setup-home-lab.yml b/ansible/homelab/playbooks/setup-home-lab.yml index 63cbef5..d594715 100644 --- a/ansible/homelab/playbooks/setup-home-lab.yml +++ b/ansible/homelab/playbooks/setup-home-lab.yml @@ -17,12 +17,12 @@ - name: Install Dev Tooling import_tasks: ../tasks/install-dev-tooling-tasks.yml - - name: Checkout Git Repos - import_tasks: ../tasks/checkout-git-repos-tasks.yml - - name: Install & Configure Sudo import_tasks: ../tasks/install-sudo-tasks.yml + - name: Checkout Git Repos + import_tasks: ../tasks/checkout-git-repos-tasks.yml + - name: Install Docker import_tasks: ../tasks/install-docker-tasks.yml