Fixed path for Ansible roles

This commit is contained in:
Brian Zalewski 2023-11-05 05:08:37 +00:00
parent 842e927ccc
commit 17aa94f51d

View file

@ -22,7 +22,7 @@
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
{{ $roleDirs := (output "find" (joinPath .chezmoi.homeDir ".local" "src" "gas-station" "roles") "-mindepth" "2" "-maxdepth" "2" "-type" "d") -}}
{{ $roleDirs := (output "find" (joinPath .chezmoi.homeDir ".local" "share" "gas-station" "roles") "-mindepth" "2" "-maxdepth" "2" "-type" "d") -}}
{{- range $roleDir := splitList "\n" $roleDirs -}}
{{- if ne $roleDir "" -}}
# {{ $roleDir }}