aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/roles/my_dotfiles/tasks/main.yml
blob: dd4a664a8085be7da1998e2641c3fd3603601fb7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                       
                                     
                                  

                                 
                



                                     
                                  
                    
- name: Pull repository
  ansible.builtin.git: # noqa: latest
    repo: '{{ my_dotfiles_repo }}'
    dest: '{{ my_dotfiles_dir }}'
    accept_hostkey: true
  register: repo

- name: Run setup.sh
  ansible.builtin.command: ./setup.sh
  args:
    chdir: '{{ my_dotfiles_dir }}'
  when: repo.changed