summaryrefslogtreecommitdiffstats
path: root/roles/dotfiles
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-17 18:00:31 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-19 10:31:02 +0100
commitd0cf6a6d5a41caad5daa9a5c26bcba30d531b46c (patch)
treed42e54813abb8bf387f042a24e728efb5471c8cc /roles/dotfiles
parent8344864c8fea0f73e3531ea36d6790f0f3e69599 (diff)
Add task to show the output of dotfile setup script for debugging
Diffstat (limited to 'roles/dotfiles')
-rw-r--r--roles/dotfiles/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
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