tsuna-server / build-server-ansible

1 stars 0 forks source link

The Ansible will continue subsequent instructions if it failed to upgrade packages. #100

Closed TsutomuNakamura closed 1 year ago

TsutomuNakamura commented 1 year ago

It should retry the upgrade instruction until success.

......
TASK [common : Upgrade all current packages] **************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
changed: [dev-swift02]
changed: [dev-compute02]
changed: [dev-cinder01]
changed: [dev-cinder02]
changed: [dev-cinder03]
fatal: [dev-swift01]: FAILED! => {"changed": false, "msg": "The apt action failed to execute in the expected time frame (600) and was terminated"}
fatal: [dev-swift03]: FAILED! => {"changed": false, "msg": "The apt action failed to execute in the expected time frame (600) and was terminated"}
fatal: [dev-controller01]: FAILED! => {"changed": false, "msg": "The apt action failed to execute in the expected time frame (600) and was terminated"}
fatal: [dev-compute01]: FAILED! => {"changed": false, "msg": "The apt action failed to execute in the expected time frame (600) and was terminated"}

TASK [common : Install common packages] *******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
changed: [dev-compute02]
changed: [dev-cinder03]
changed: [dev-swift02]
changed: [dev-cinder01]
changed: [dev-cinder02]
......
TsutomuNakamura commented 1 year ago

It has already fixed.