summaryrefslogtreecommitdiffstats
path: root/roles/bash/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bash/tasks/main.yml')
-rw-r--r--roles/bash/tasks/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/bash/tasks/main.yml b/roles/bash/tasks/main.yml
index 12ff6982..475581ee 100644
--- a/roles/bash/tasks/main.yml
+++ b/roles/bash/tasks/main.yml
@@ -5,7 +5,8 @@
name: "bash"
state: "present"
-- name: "Ensure .bashrc/.profile exists"
+- name: "Ensure .bash(rc|_profile) and .profile exists"
+ # This is used by different setup scripts adding their init in one of these
ansible.builtin.file:
path: "{{ item }}"
state: "touch"
@@ -14,4 +15,5 @@
access_time: "preserve"
loop:
- "{{ ansible_env.HOME }}/.bashrc"
+ - "{{ ansible_env.HOME }}/.bash_profile"
- "{{ ansible_env.HOME }}/.profile"