From b5a5128cffe90f06709cb1011d6afc87c59fc8e9 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 17 Jan 2026 18:11:28 +0100 Subject: Update bash role to ensure all rc files created --- roles/bash/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roles/bash') 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" -- cgit v1.2.3