diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-10-20 01:29:37 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-10-20 01:29:37 +0200 |
| commit | a4892eed8d08dfb5aabd3ed5ba3c931353899b34 (patch) | |
| tree | c011a324176c6dc4e6ba920f50fba17e760e0cb7 /roles/bash | |
| parent | 85afe2a3f29886f223ff3a70585d4f544a518135 (diff) | |
Fix archlinux setup
Diffstat (limited to 'roles/bash')
| -rw-r--r-- | roles/bash/tasks/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/bash/tasks/main.yml b/roles/bash/tasks/main.yml index cf064512..12ff6982 100644 --- a/roles/bash/tasks/main.yml +++ b/roles/bash/tasks/main.yml @@ -4,3 +4,14 @@ ansible.builtin.package: name: "bash" state: "present" + +- name: "Ensure .bashrc/.profile exists" + ansible.builtin.file: + path: "{{ item }}" + state: "touch" + mode: "0644" + modification_time: "preserve" + access_time: "preserve" + loop: + - "{{ ansible_env.HOME }}/.bashrc" + - "{{ ansible_env.HOME }}/.profile" |
