service-ansible/roles/update/tasks/main.yaml
Kristóf Torma 3ed4ea639c
Some checks failed
continuous-integration/drone/push Build is failing
remove mastodon
2023-08-30 23:49:43 +02:00

17 lines
289 B
YAML

---
- name: Update service
command: docker-compose pull
args:
chdir: /home/service-user
- name: Shut down service
command: docker-compose down
args:
chdir: /home/service-user
- name: Start service
command: docker-compose up -d
args:
chdir: /home/service-user
...