--- - 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