2021-01-20 11:46:01 +01:00

23 lines
469 B
YAML

---
- name: Creation du repertoire nextcloud
file:
path: /root/nextcloud
- name: Copie du script get_docker
copy:
src: get_docker.sh
dest: /root/nextcloud
- name: Execution du script get_docker
script: /root/nextcloud/get_docker.sh
- name: Copie de docker-compose
copy:
src: docker-compose.yml
dest: /usr/local/bin
- name: Execution de la commande docker-compose up -d
shell:
cmd: docker-compose up -d
chdir: /root/nextcloud