mirror of
https://gitlab.com/dbrw/ansible-setup.git
synced 2025-08-04 15:45:41 +07:00
10 lines
356 B
YAML
10 lines
356 B
YAML
- name: Clone user dotfiles
|
|
git: repo={{ dotfiles.url }} dest=/home/{{ username }}/{{ dotfiles.destination }} accept_hostkey=yes update=no
|
|
become: yes
|
|
become_user: "{{ username }}"
|
|
|
|
- name: Install user dotfiles
|
|
command: rcup -d /home/{{ username}}/{{ dotfiles.destination}} {{ dotfiles.rcup_flags }}
|
|
become: yes
|
|
become_user: "{{ username }}"
|