From d0cf6a6d5a41caad5daa9a5c26bcba30d531b46c Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 17 Jan 2026 18:00:31 +0100 Subject: Add task to show the output of dotfile setup script for debugging --- roles/dotfiles/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'roles/dotfiles') diff --git a/roles/dotfiles/tasks/main.yml b/roles/dotfiles/tasks/main.yml index 412b2723..8a8b0210 100644 --- a/roles/dotfiles/tasks/main.yml +++ b/roles/dotfiles/tasks/main.yml @@ -12,7 +12,15 @@ ansible.builtin.shell: cmd: "{{ dotfiles_setup_script }}" executable: "/bin/bash" + register: dotfile_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: dotfile_setup.stdout + tags: + # Since this doesn't run on idempotence testing + - molecule-idempotence-notest -- cgit v1.2.3