feat: added profile management

This commit is contained in:
Simon Cornet 2025-10-25 14:25:59 +02:00
commit 726aa54dbb
2 changed files with 15 additions and 1 deletions

10
tasks/profile.yaml Normal file
View file

@ -0,0 +1,10 @@
---
# manage systemwide prompt
- name: "configure systemwide profile"
ansible.builtin.lineinfile:
path: /etc/profile
line: "export PS1='\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ '"
create: true
mode: "0644"
when: 'ansible_os_family == "Alpine"'