diff --git a/roles/ansiblehost/tasks/main.yml b/roles/ansiblehost/tasks/main.yml index d2a046b..06f52ec 100644 --- a/roles/ansiblehost/tasks/main.yml +++ b/roles/ansiblehost/tasks/main.yml @@ -47,7 +47,7 @@ become_user: salt - name: Clone Ansible repository git: - repo: git@gitlab.com:rehashedsalt/ansible + repo: https://gitlab.com/rehashedsalt/ansible dest: ~/Projects/ansible become: true become_user: salt diff --git a/roles/user/tasks/main.yml b/roles/user/tasks/main.yml index d7421fd..9db33d6 100644 --- a/roles/user/tasks/main.yml +++ b/roles/user/tasks/main.yml @@ -54,3 +54,23 @@ when: not p.stat.exists become: yes become_user: salt +- name: Execute bootstrap script + shell: cd && ~/bootstrap/build-home.sh + when: not p.stat.exists + become: yes + become_user: salt +- name: Remove bootstrap script directory + file: + path: ~/bootstrap + state: absent + when: not p.stat.exists + become: yes + become_user: salt +- name: Disable untracked files on dotfiles + git_config: + name: status.showUntrackedFiles + value: "no" + scope: local + repo: ~/.dotfiles + become: yes + become_user: salt