From 86643d21620f533e73057d1241fdc492d5e96542 Mon Sep 17 00:00:00 2001 From: d0lim Date: Thu, 14 Sep 2023 22:47:07 +0900 Subject: [PATCH] fix: remove playbook not using --- ansible/deploy-playbook.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/ansible/deploy-playbook.yml b/ansible/deploy-playbook.yml index d7c5b56..d3065ba 100644 --- a/ansible/deploy-playbook.yml +++ b/ansible/deploy-playbook.yml @@ -22,21 +22,3 @@ args: chdir: /Users/{{ user }}/Server executable: /bin/zsh - - name: Log into private registry and force re-authorization - become: True - shell: "/usr/bin/docker login {{ registry_host }} -u {{ registry_user }} -p {{ registry_password }}" - args: - chdir: "/home/{{ user }}/compose" - executable: /usr/bin/zsh - - name: Pull image - become: True - shell: "/usr/bin/docker pull {{ registry_host }}/studium-server:latest" - args: - chdir: "/home/{{ user }}/compose" - executable: "/usr/bin/zsh" - - name: Restart Container - become: True - shell: "/usr/bin/zsh node-env.sh && source ~/.zshrc && /usr/bin/docker service update --force --image {{ registry_host }}/studium-server:latest studium_studium-server" - args: - chdir: "/home/{{ user }}/compose" - executable: "/usr/bin/zsh" \ No newline at end of file