ansible-desktop/roles/dotfiles/tasks/main.yml

26 lines
413 B
YAML

---
- name: install required packages
become: yes
apt:
update_cache: yes
pkg:
- git
- make
- name: checkout dotfiles
git:
repo: "{{ dotfiles.repo }}"
dest: "{{ desktop_src_dir }}/dotfiles"
clone: yes
update: yes
- name: create bin dir
file:
path: ~/bin
state: directory
- name: install
make:
target: install
chdir: "{{ desktop_src_dir }}/dotfiles"