Skip to content

Commit

Permalink
fix: remove playbook not using
Browse files Browse the repository at this point in the history
  • Loading branch information
d0lim committed Sep 14, 2023
1 parent 369f6bd commit 86643d2
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions ansible/deploy-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 86643d2

Please sign in to comment.