|
|
@ -30,31 +30,32 @@
|
|
|
|
- dotfiles
|
|
|
|
- dotfiles
|
|
|
|
- productivity
|
|
|
|
- productivity
|
|
|
|
|
|
|
|
|
|
|
|
# - name: Clone the dotfiles repository
|
|
|
|
- name: Clone the dotfiles repository
|
|
|
|
# git:
|
|
|
|
git:
|
|
|
|
# repo: https://gitlab.com/bhavin192/dotfiles.git
|
|
|
|
repo: https://git.gerstner.se/nils/ansible_dotfiles.git
|
|
|
|
# dest: ~/dotfiles
|
|
|
|
dest: ~/dotfiles
|
|
|
|
# when: st.stat.islnk is not defined
|
|
|
|
when: st.stat.islnk is not defined
|
|
|
|
# tags:
|
|
|
|
|
|
|
|
# - install
|
|
|
|
|
|
|
|
# - dotfiles
|
|
|
|
|
|
|
|
# - productivity
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Move dotfiles to dest folder
|
|
|
|
|
|
|
|
ansible.builtin.copy:
|
|
|
|
|
|
|
|
src: /tmp/ansible/dotfiles
|
|
|
|
|
|
|
|
dest: ~/
|
|
|
|
|
|
|
|
remote_src: yes
|
|
|
|
|
|
|
|
owner: root
|
|
|
|
|
|
|
|
group: root
|
|
|
|
|
|
|
|
# mode: u+rw,g-wx,o-rwx
|
|
|
|
|
|
|
|
# validate: /usr/sbin/visudo -csf %s
|
|
|
|
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- git
|
|
|
|
- git
|
|
|
|
- install
|
|
|
|
- install
|
|
|
|
- dotfiles
|
|
|
|
- dotfiles
|
|
|
|
- productivity
|
|
|
|
- productivity
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# - name: Move dotfiles to dest folder
|
|
|
|
|
|
|
|
# ansible.builtin.copy:
|
|
|
|
|
|
|
|
# src: /tmp/ansible/dotfiles
|
|
|
|
|
|
|
|
# dest: ~/
|
|
|
|
|
|
|
|
# remote_src: yes
|
|
|
|
|
|
|
|
# owner: root
|
|
|
|
|
|
|
|
# group: root
|
|
|
|
|
|
|
|
# # mode: u+rw,g-wx,o-rwx
|
|
|
|
|
|
|
|
# # validate: /usr/sbin/visudo -csf %s
|
|
|
|
|
|
|
|
# tags:
|
|
|
|
|
|
|
|
# - git
|
|
|
|
|
|
|
|
# - install
|
|
|
|
|
|
|
|
# - dotfiles
|
|
|
|
|
|
|
|
# - productivity
|
|
|
|
|
|
|
|
|
|
|
|
- name: Stow the dotfiles
|
|
|
|
- name: Stow the dotfiles
|
|
|
|
shell: |
|
|
|
|
shell: |
|
|
|
|
stow --verbose 2 --dir "${HOME}/dotfiles" --target "${HOME}" .
|
|
|
|
stow --verbose 2 --dir "${HOME}/dotfiles" --target "${HOME}" .
|
|
|
|