From 8d2ef7eace03fa1a2ab0158b70442a82ae262d8e 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