diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-01-07 17:51:27 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-01-07 17:51:27 +0200 |
commit | 2456f2c82528f31835807addd4ac3b6e62252af9 (patch) | |
tree | eeb400bf3bcda02f4a426052b184c855dc926043 /ansible/all.sh | |
parent | 99257314d4fe7ea239d6306b0707e2fa8ad79e63 (diff) | |
download | ansibleness-2456f2c82528f31835807addd4ac3b6e62252af9.tar.gz |
drop old junk
Sponsored-by: author
Diffstat (limited to 'ansible/all.sh')
-rwxr-xr-x | ansible/all.sh | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/ansible/all.sh b/ansible/all.sh index f2b9010..41f650f 100755 --- a/ansible/all.sh +++ b/ansible/all.sh @@ -20,16 +20,6 @@ maybe_run_playbook() { fi } -maybe_run_ansible() { - if newer "$1.yml" "$1.stamp" && online "$1"; then - echo "$1" - chronic run-ansible "$1.hz" "hosts.$2" "$1.yml" - touch "$1.stamp" - else - echo "SKIPPING $1" - fi -} - maybe_run_playbook solace maybe_run_playbook exolobe1 maybe_run_playbook exolobe2 @@ -38,8 +28,7 @@ maybe_run_playbook holywood2 maybe_run_playbook web maybe_run_playbook atuin.liw.fi maybe_run_playbook mirror-git - -maybe_run_ansible git.liw.fi git -maybe_run_ansible http.liw.fi http -maybe_run_ansible irc.liw.fi irc -maybe_run_ansible shell-shell.vm.liw.fi shell +maybe_run_playbook git.liw.fi +maybe_run_playbook http.liw.fi +maybe_run_playbook irc.liw.fi +maybe_run_playbook shell-shell.vm.liw.fi |