--- - name: "Clone dotfiles git repo" ansible.builtin.git: repo: "{{ dotfiles_repo_url }}" dest: "{{ ansible_facts['env']['HOME'] }}/.rc" clone: true update: false single_branch: true version: "main" - name: "Setup dotfiles" ansible.builtin.shell: cmd: "{{ dotfiles_setup_script }}" executable: "/bin/bash" register: dotfiles_setup changed_when: true tags: # Since the script will report changed every time (even thought it's idempotent) - molecule-idempotence-notest - name: "Show dotfile setup output" ansible.builtin.debug: var: dotfiles_setup.stdout tags: # Since this doesn't run on idempotence testing - molecule-idempotence-notest