mirror of
https://codeberg.org/hyperreal/ansible-homelab
synced 2024-11-01 16:43:09 +01:00
24 lines
534 B
YAML
24 lines
534 B
YAML
|
---
|
||
|
# tasks file for vimrc
|
||
|
|
||
|
- name: Clone vimrc gist
|
||
|
ansible.builtin.git:
|
||
|
repo: https://gist.github.com/90c3b2fcc9d70cf06e9f3660e0d15a48.git
|
||
|
dest: /tmp/vimrc
|
||
|
|
||
|
- name: Copy vimrc to /root/.vimrc
|
||
|
ansible.builtin.copy:
|
||
|
src: /tmp/vimrc/.vimrc
|
||
|
dest: /root/.vimrc
|
||
|
remote_src: true
|
||
|
owner: root
|
||
|
group: root
|
||
|
|
||
|
- name: Copy vimrc to /home/{{ user }}/.vimrc
|
||
|
ansible.builtin.copy:
|
||
|
src: /tmp/vimrc/.vimrc
|
||
|
dest: "/home/{{ user }}/.vimrc"
|
||
|
remote_src: true
|
||
|
owner: "{{ user }}"
|
||
|
group: "{{ user }}"
|