1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_users.git synced 2024-08-16 10:29:50 +02:00

Update vimrc and bashrc

This commit is contained in:
L3D 2024-04-06 20:08:55 +02:00
parent 4cc7cdfa10
commit 2ab2a60a5d
No known key found for this signature in database
GPG key ID: AD65B920933B4B20
3 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@
group: 'root'
mode: 'u=rw,g=r,o=r'
- name: Create global bashrc configuration
- name: Create bashrc configuration per user
become: true
ansible.builtin.template:
src: 'templates/dotbashrc.j2'

View file

@ -8,11 +8,11 @@
group: 'root'
mode: 'u=rw,g=r,o=r'
- name: Create global bashrc configuration
- name: Create vimrc configuration per defined user
become: true
ansible.builtin.template:
src: 'templates/dotbashrc.j2'
dest: "{{ user.home | default('/home/' + user.name) }}/.bashrc"
src: 'templates/vimrc.j2'
dest: "{{ user.home | default('/home/' + user.name) }}/.vimrc"
owner: "{{ user.name }}"
group: "{{ user.name }}"
mode: '0640'

View file

@ -4,5 +4,5 @@ l3d_users__dotfiles_packages:
- vim
- htop
playbook_version_number: 4
playbook_version_number: 5
playbook_version_path: 'l3d.users.dotfiles.version'