diff options
| author | Ahmed AbdelHalim <[email protected]> | 2026-01-17 18:00:31 +0100 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2026-01-19 10:31:02 +0100 |
| commit | 8d2ef7eace03fa1a2ab0158b70442a82ae262d8e (patch) | |
| tree | d42e54813abb8bf387f042a24e728efb5471c8cc /roles/dotfiles/tasks | |
| parent | ab789adf52fa08fe9fffb45c50c98a178d25fe15 (diff) | |
Add task to show the output of dotfile setup script for debugging
Diffstat (limited to 'roles/dotfiles/tasks')
| -rw-r--r-- | roles/dotfiles/tasks/main.yml | 8 |
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 |
