Created
August 9, 2020 10:25
-
-
Save Todorovikj/6d75ff7ae8ecd90bf4d7cd91b7cf7267 to your computer and use it in GitHub Desktop.
Restart docker-compose f1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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