25 lines
502 B
YAML
25 lines
502 B
YAML
- name: Clone dotfiles
|
|
git:
|
|
repo: "git@git.jeremydormitzer.com:jdormit/dotfiles.git"
|
|
dest: ~/dotfiles
|
|
accept_hostkey: true
|
|
update: no
|
|
|
|
- name: Install GNU Stow
|
|
become: yes
|
|
pacman:
|
|
name: stow
|
|
state: present
|
|
|
|
- name: Stow bash dotfiles
|
|
command:
|
|
chdir: "{{ ansible_env.HOME }}/dotfiles"
|
|
cmd: "stow bash"
|
|
creates: "~/.bashrc"
|
|
|
|
- name: Stow GPG config
|
|
command:
|
|
chdir: "{{ ansible_env.HOME }}/dotfiles"
|
|
cmd: "stow gnupg"
|
|
creates: "~/.gnupg/gpg.conf"
|