Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
d547c7f607
commit
096a3e0540
69 changed files with 1650 additions and 0 deletions
13
tasks/vim.yml
Normal file
13
tasks/vim.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- name: Install vim packages
|
||||
ansible.builtin.apt:
|
||||
name: vim
|
||||
state: present
|
||||
|
||||
- name: Copy configurations
|
||||
ansible.builtin.copy:
|
||||
src: files/vim/vimrc
|
||||
dest: "{{ '/root/.vimrc' if item['name'] == 'root' else '/home/' + item['name'] + '/.vimrc' }}"
|
||||
loop: "{{ users }}"
|
||||
loop_control:
|
||||
label: "{{ item['name'] }}"
|
Loading…
Add table
Add a link
Reference in a new issue