summaryrefslogtreecommitdiff
path: root/roles/vim/tasks/main.yml
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-03-03 14:59:01 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2024-03-03 15:01:26 +0000
commitfccf94025126624e6ae111676a20ac618ac709c3 (patch)
tree0a99c66acd7889237c164e829ed0e1592edf4bd3 /roles/vim/tasks/main.yml
parent9920d404374275ef80b21421ae3a1ab8211fd88d (diff)
downloadinfra-fccf94025126624e6ae111676a20ac618ac709c3.tar.gz
infra-fccf94025126624e6ae111676a20ac618ac709c3.tar.bz2
infra-fccf94025126624e6ae111676a20ac618ac709c3.zip
Add vim role
Diffstat (limited to 'roles/vim/tasks/main.yml')
-rw-r--r--roles/vim/tasks/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/vim/tasks/main.yml b/roles/vim/tasks/main.yml
new file mode 100644
index 0000000..2ec3d26
--- /dev/null
+++ b/roles/vim/tasks/main.yml
@@ -0,0 +1,13 @@
+- name: Install vim
+ ansible.builtin.package:
+ name:
+ - vim
+ state: present
+
+- name: Configure vim for Dmitry Ilvokhin
+ ansible.builtin.copy:
+ src: misc/dotfiles/vimrc
+ dest: /home/d/.vimrc
+ owner: d
+ group: d
+ mode: u+rw,g+r,o+r