testing #1

Merged
ejparker merged 9 commits from testing into prod 2024-12-25 22:44:34 -06:00
Showing only changes of commit 0912b451f2 - Show all commits

View file

@ -76,7 +76,7 @@ echo "- hosts: $fqdn
while read line
do
elements=()
for element in $(echo $line | tr ";" "\n"); do elements+=("$e");done
for element in $(echo $line | tr ":" "\n"); do elements+=("$e");done
case ${elements[0]} in
"role")
# format role:role name:branch/tag to use
@ -114,6 +114,6 @@ done </tmp/$fqdn
rm -r /ansible/prev/*
mv /ansible/$fqdn.yml /ansible/prev/
mv /ansible/roles/ /ansible/prev
mv /ansible/new /ansible
mv /ansible/new/* /ansible/
# end of build_ansible.sh