mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-25 13:01:31 +01:00
18 lines
353 B
YAML
18 lines
353 B
YAML
|
---
|
||
|
- hosts: all
|
||
|
become: true
|
||
|
vars:
|
||
|
DOTFILES: "$HOME/.dotfiles"
|
||
|
|
||
|
tasks:
|
||
|
- name: dotfiles
|
||
|
ansible.builtin.command: git pull --rebase --autostash
|
||
|
args:
|
||
|
chdir: "{{ DOTFILES }}"
|
||
|
|
||
|
- name: antibody
|
||
|
command: antibody update
|
||
|
|
||
|
- name: vim
|
||
|
ansible.builtin.shell: DOTFILES={{DOTFILES}} vim -c 'PlugUpdate|qa!'
|