ci: restrict ansible

This commit is contained in:
Black_Raven committed 2026-05-25 21:14:43 +03:00
1 parent b673f698fa
commit eedd110133
2 files changed
+1 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
- name: Restart Docker Compose services
hosts: all
become: yes
tasks:
- name: docker compose down
ansible.builtin.shell:
cmd: docker compose down
chdir: /etc/compose/pvh
- name: prune system
ansible.builtin.shell:
cmd: docker system prune -a -f
- name: docker compose up -d
ansible.builtin.shell:
cmd: docker compose up -d
chdir: /etc/compose/pvh