--- - name: Create Docker Folder ansible.builtin.file: path: /opt/docker state: directory mode: '0755' - name: Copy Docker-Compose File copy: src: portainer.yml dest: /opt/docker/docker-compose.yml