Add retries to install packages required for Neutron

Jobs sometimes fail and timeout on this task so adding retries
to make it less prone to CI failures.

Change-Id: I4ecad7ecf56962fc272989a8fafc66b0ff1e5185
This commit is contained in:
Mohammed Naser 2018-06-15 07:32:30 -04:00
parent 1acaf917e1
commit adc796b960

View File

@ -77,6 +77,10 @@
package:
name: "{{ required_packages[ansible_pkg_mgr] }}"
state: present
register: install_packages
until: install_packages is success
retries: 5
delay: 2
- include: ensure-rabbitmq.yml
vhost_name: "{{ neutron_rabbitmq_vhost }}"