Fix bootstrapping, use https URL for ansible scripts
This commit is contained in:
parent
8f7f53e96c
commit
4f5fe365fc
@ -47,7 +47,7 @@
|
|||||||
become_user: salt
|
become_user: salt
|
||||||
- name: Clone Ansible repository
|
- name: Clone Ansible repository
|
||||||
git:
|
git:
|
||||||
repo: git@gitlab.com:rehashedsalt/ansible
|
repo: https://gitlab.com/rehashedsalt/ansible
|
||||||
dest: ~/Projects/ansible
|
dest: ~/Projects/ansible
|
||||||
become: true
|
become: true
|
||||||
become_user: salt
|
become_user: salt
|
||||||
|
@ -54,3 +54,23 @@
|
|||||||
when: not p.stat.exists
|
when: not p.stat.exists
|
||||||
become: yes
|
become: yes
|
||||||
become_user: salt
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user