service-ansible/roles/update/tasks/main.yaml

17 lines
289 B
YAML
Raw Normal View History

---
2022-07-25 22:39:47 +02:00
- name: Update service
2023-08-30 23:21:24 +02:00
command: docker-compose pull
args:
chdir: /home/service-user
2022-07-25 22:39:47 +02:00
- name: Shut down service
2023-08-30 23:21:24 +02:00
command: docker-compose down
args:
chdir: /home/service-user
2022-07-25 22:39:47 +02:00
- name: Start service
2023-08-30 23:21:24 +02:00
command: docker-compose up -d
args:
chdir: /home/service-user
...