summaryrefslogtreecommitdiffstats
path: root/roles/dotfiles/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-14 23:50:19 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-14 23:50:19 +0100
commit473c1d59845a93d30ef9d8096e061263c292fbf6 (patch)
treee6c152a0c0f36771368512ac036f54a511afc79b /roles/dotfiles/tasks
parent5bb4cb6d7138fcac012305b50f52ffd53f9bd2c2 (diff)
Fix issue in dotfiles not running because bash_profile existed
Diffstat (limited to 'roles/dotfiles/tasks')
-rw-r--r--roles/dotfiles/tasks/main.yml5
1 files changed, 4 insertions, 1 deletions
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