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:
parent
4cc7cdfa10
commit
2ab2a60a5d
3 changed files with 5 additions and 5 deletions
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue