From 473c1d59845a93d30ef9d8096e061263c292fbf6 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 14 Jan 2026 23:50:19 +0100 Subject: Fix issue in dotfiles not running because bash_profile existed --- roles/dotfiles/tasks/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/dotfiles/tasks/main.yml b/roles/dotfiles/tasks/main.yml index d962dbbe..412b2723 100644 --- a/roles/dotfiles/tasks/main.yml +++ b/roles/dotfiles/tasks/main.yml @@ -12,4 +12,7 @@ ansible.builtin.shell: cmd: "{{ dotfiles_setup_script }}" executable: "/bin/bash" - creates: "{{ ansible_env.HOME }}/.bash_profile" + changed_when: true + tags: + # Since the script will report changed every time (even thought it's idempotent) + - molecule-idempotence-notest -- cgit v1.2.3