ansible-desktop/roles/dotfiles/tasks/main.yml
2022-05-19 22:24:32 +02:00

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"