Initial commit

This commit is contained in:
waal70
2024-10-26 16:23:45 +02:00
commit b00d31c48d
22 changed files with 475 additions and 0 deletions

14
tasks/color-shell.yml Normal file
View File

@@ -0,0 +1,14 @@
---
# Note the use of "ansible_remote_tmp" - to prevent WARNINGS because of becoming an unprivileged user
- name: Force colors in .bashrc
ansible.builtin.lineinfile:
path: "{{ interactive_home }}/.bashrc"
regexp: "{{ item.regexp }}"
line: "{{ item.line }}"
state: present
with_items:
- { regexp: "^#?force_color_prompt", line: force_color_prompt=yes }
become: true
become_user: "{{ interactive_user }}"
vars:
ansible_remote_tmp: /tmp