Guillaume Coré
2018-09-07 b52e41df8b59e00b68481da11354eb700c50c587
refs
author Guillaume Coré <gucore@redhat.com>
Friday, September 7, 2018 15:29 +0200
committer Guillaume Coré <guillaume.core@gmail.com>
Friday, September 7, 2018 17:03 +0200
commitb52e41df8b59e00b68481da11354eb700c50c587
tree 9b12005469c5622adad40e7be83aae286c921c9e tree | zip | gz
parent 922efcf9b0a4b8edcdb8a116869a42c570f5a885 view | diff
rhte-oc-cluster-vms: Fix reboot

Error is:

TASK [Reboot VM] ***************************************************************
Friday 07 September 2018 13:10:04 +0000 (0:05:02.849) 0:17:49.293 ******
fatal: [clientvm.ce4a.internal]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Shared connection to ec2-18-182-111-209.ap-northeast-1.compute.amazonaws.com closed.\r\n", "unreachable": true}
to retry, use: --limit
@/tmp/rhte-oc-cluster-vms-ce4a/ansible_agnostic_deployer/ansible/main.retry

'ignore_errors' is not enough because SSH connection is close by 'shutdown -r
now'

use async + poll=0 too.
1 files modified
6 ■■■■■ changed files
ansible/configs/rhte-oc-cluster-vms/post_software.yml 6 ●●●●● diff | view | raw | blame | history