blob: c8f7e037bde8073bc125b9f934719c392d0f5a28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- name: Pull repository
tensin.infra.safe_git:
repo: '{{ my_dotfiles_repo }}'
dest: '{{ my_dotfiles_dir }}'
version: master
accept_hostkey: true
register: my_dotfiles_repo
- name: Run setup.sh
when: my_dotfiles_repo is changed
ansible.builtin.command: ./scripts/setup.sh
args:
chdir: '{{ my_dotfiles_dir }}'
changed_when: true
|