mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
25 lines
587 B
YAML
25 lines
587 B
YAML
---
|
|
- name: Install rcm
|
|
kewlfft.aur.aur:
|
|
name: rcm
|
|
become: yes
|
|
become_user: "{{ aur.user }}"
|
|
when: dotfiles is defined
|
|
tags:
|
|
- aur
|
|
|
|
- name: Clone user dotfiles
|
|
git:
|
|
repo: "{{ dotfiles.url }}"
|
|
dest: /home/{{ user.name }}/{{ dotfiles.destination }}
|
|
accept_hostkey: yes
|
|
update: no
|
|
when: dotfiles is defined
|
|
become: yes
|
|
become_user: "{{ user.name }}"
|
|
|
|
- name: Install user dotfiles
|
|
command: rcup -d /home/{{ user.name}}/{{ dotfiles.destination}} {{ dotfiles.rcup_flags }}
|
|
when: dotfiles is defined
|
|
become: yes
|
|
become_user: "{{ user.name }}"
|