--- - name: Geth | Create compose file template: src: 'docker-compose.yml.j2' dest: '{{ geth_compose_path }}' owner: 'dockremap' group: 'docker' mode: 0640 # Take into account additional docker-compose.yml files. - name: Find all Docker Compose files find: paths: '{{ geth_service_path }}' patterns: 'docker-compose*.yml' recurse: false register: geth_all_compose - name: Geth | Create containers community.docker.docker_compose_v2: project_src: '{{ geth_service_path }}' files: '{{ geth_all_compose.files | map(attribute="path") | list }}' state: '{{ compose_state }}' recreate: '{{ compose_recreate }}' pull: '{{ compose_pull }}'