workstation/arch/roles/dotfiles/tasks/main.yml

25 lines
502 B
YAML
Raw Normal View History

- 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"
2020-05-27 11:19:38 +00:00
creates: "~/.bashrc"
- name: Stow GPG config
command:
chdir: "{{ ansible_env.HOME }}/dotfiles"
cmd: "stow gnupg"
creates: "~/.gnupg/gpg.conf"