Update .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_11-symlink-ansible-roles.tmpl, .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl
This commit is contained in:
parent
4d11e50afa
commit
aa47e2b555
2 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
{{- end }}
|
||||
|
||||
logg 'Ensuring Gas Station roles are symlinked to ~/.local/share/ansible/roles'
|
||||
mkdir -p "$XDG_DATA_HOME/ansible/roles"
|
||||
find "$HOME/.local/src/gas-station/roles" -mindepth 2 -maxdepth 2 -type d | while read ROLE_PATH; do
|
||||
ROLE_FOLDER="professormanhattan.$(echo "$ROLE_PATH" | sed 's/.*\/\([^\/]*\)$/\1/')"
|
||||
ALT_ROLE_FOLDER="$(echo "$ROLE_PATH" | sed 's/.*\/\([^\/]*\)$/\1/')"
|
Loading…
Reference in a new issue