これは何 playbook の自動テストで各種パッケージダウンロードの処理がたまに落ちていた。コードの問題ではないところで落ちてjenkinsが赤くなると嫌なので出来るだけ通るようにしたい。 リトライ処理をいれて問題の緩和を図りたい。 微妙に詰まったのでメモを残しておく。 参考文献 get_url のreturn valuesについて;http://docs.ansible.com/ansible/latest/get_url_module.html#return-values untilのところ: http://docs.ansible.com/ansible/latest/playbooks_loops.html#do-until-loops result|succeededのところ: http://docs.ansible.com/ansible/latest/playbooks_c
