Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Restart docker-compose f1
- name: Restart docker-compose containers
hosts: azure-server
become: true
tasks:
- name: Stop docker compose
command: chdir=/home/AnIS docker-compose stop
- name: Start docker compose
command: chdir=/home/AnIS docker-compose up -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.