Use package_state=present for CentOS 7 testing
CentOS 7 gates timeout more often due to the use of package_state=latest (the default). This patch allows tests to run with package_state=present. This should speed up gate jobs for CentOS 7 and expose more problems that can be fixed. Change-Id: I93628a563928ffd6eea1510f6b19233e8cd412a7
This commit is contained in:
parent
f9887050e6
commit
124ac4440b
|
@ -42,6 +42,12 @@
|
|||
with_items:
|
||||
- "91.189.91.21 images.linuxcontainers.org us.images.linuxcontainers.org"
|
||||
- "91.189.88.37 images.linuxcontainers.org uk.images.linuxcontainers.org"
|
||||
# NOTE(mhayden): Using package_state=present on CentOS 7 should allow for
|
||||
# more gate jobs to complete properly and expose more problems that can
|
||||
# be fixed (instead of timeouts).
|
||||
- name: Use present for package_state on CentOS 7
|
||||
set_fact:
|
||||
package_state: "{{ (ansible_os_family == 'RedHat') | ternary('present', 'latest') }}"
|
||||
|
||||
- include: test-install-openstack-hosts.yml
|
||||
|
||||
|
|
Loading…
Reference in New Issue