25 lines
402 B
YAML
25 lines
402 B
YAML
|
---
|
||
|
- name: install required packages
|
||
|
become: yes
|
||
|
apt:
|
||
|
update_cache: yes
|
||
|
pkg:
|
||
|
- git
|
||
|
- make
|
||
|
|
||
|
- name: create src dir
|
||
|
file:
|
||
|
path: ~/src
|
||
|
|
||
|
- name: checkout dotfiles
|
||
|
git:
|
||
|
repo: "{{ dotfiles.repo }}"
|
||
|
dest: "{{ ansible_user_dir }}/src/dotfiles"
|
||
|
clone: yes
|
||
|
update: yes
|
||
|
|
||
|
- name: install
|
||
|
make:
|
||
|
target: install
|
||
|
chdir: "{{ ansible_user_dir }}/src/dotfiles"
|