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
commit8d2ef7eace03fa1a2ab0158b70442a82ae262d8e (patch)
treed42e54813abb8bf387f042a24e728efb5471c8cc /roles/dotfiles
parentab789adf52fa08fe9fffb45c50c98a178d25fe15 (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