- name: pull backup-docker-cleanup.git git: repo: "https://github.com/kevinveenbirkenbach/backup-docker-cleanup.git" dest: "{{docker_volume_backup_cleanup_folder}}" update: yes register: git_result ignore_errors: true - name: Warn if repo is not reachable debug: msg: "Warning: Repository is not reachable." when: git_result.failed - name: configure backup-docker-cleanup.service template: src: backup-docker-cleanup.service.j2 dest: /etc/systemd/system/backup-docker-cleanup.service notify: reload backup-docker-cleanup.service daemon