Test report for easybuilders/easybuild-easyconfigs#11843
Build succeeded for 1 out of 1 (1 easyconfigs in total)
- SUCCESS freebayes-1.3.2-foss-2018b.eb
- start: Fri, 08 Jan 2021 14:01:39 +0000 (UTC)
Test report for easybuilders/easybuild-easyconfigs#11843
Build succeeded for 1 out of 1 (1 easyconfigs in total)
Test report for easybuilders/easybuild-easyconfigs#11843
Build succeeded for 1 out of 1 (1 easyconfigs in total)
# the regex is basically everything ending with: .arbitrarynumber.YYYY-MM-DD@hh:mm:ss~ | |
sudo find / -regextype egrep -regex '.*.[0-9]*.[0-9]{4}-[0-9]{2}-[0-9]{2}@[0-9]{2}:[0-9]{2}:[0-9]{2}~' | xargs -n 1 rm |
- name: "reboot hosts" | |
shell: "sleep 2 && shutdown -r now 'Reboot triggered by Ansible'" # sleep 2 is needed, else this task might fail | |
async: "1" # run asynchronously | |
poll: "0" # don't ask for the status of the command, just fire and forget | |
ignore_errors: yes # this command will get cut off by the reboot, so ignore errors | |
- name: "wait for hosts to come up again" | |
wait_for: | |
host: "{{ inventory_hostname }}" | |
port: "22" # wait for ssh as this is what is needed for ansible | |
state: "started" |
#!/bin/bash | |
TOTAL=$(curl https://xkcd.com/info.0.json 2> /dev/null | grep -Po '"num": [0-9]+' | grep -Po '[0-9]+') | |
# download JSON and image file | |
echo "downloading ..." | |
for i in $(seq 1 $TOTAL) | |
do | |
echo -ne "\r$i/$TOTAL" |