Add Ansible
This commit is contained in:
7
run_onchange_bootstrap.sh.tmpl
Normal file
7
run_onchange_bootstrap.sh.tmpl
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# .bootstrap/setup.yml hash: {{ include "dot_bootstrap/setup.yml" | sha256sum }}
|
||||
|
||||
if command -v ansible-playbook &> /dev/null; then
|
||||
ansible-playbook {{ joinPath .chezmoi.sourceDir "dot_bootstrap/setup.yml" | quote }} --ask-become-pass
|
||||
fi
|
||||
Reference in New Issue
Block a user