retry longer for default route, narrow when setup runs to fix test breakage
Change-Id: If31e3e12fad58912747de01ccf6ebe759db807a4
diff --git a/onboard-exampleservice-playbook.yml b/onboard-exampleservice-playbook.yml
index 2ca154f..d167527 100644
--- a/onboard-exampleservice-playbook.yml
+++ b/onboard-exampleservice-playbook.yml
@@ -3,7 +3,7 @@
# Adds the exampleservice to the currently running pod
- name: Include vars
- hosts: all
+ hosts: head
tasks:
- name: Include variables
include_vars: "{{ item }}"
diff --git a/roles/test-exampleservice/tasks/main.yml b/roles/test-exampleservice/tasks/main.yml
index 12bf2af..08fad6b 100644
--- a/roles/test-exampleservice/tasks/main.yml
+++ b/roles/test-exampleservice/tasks/main.yml
@@ -62,8 +62,8 @@
shell: lxc exec testclient -- route | grep default | grep "eth0.222.111"
register: result
until: result | success
- retries: 3
- delay: 10
+ retries: 20
+ delay: 30
tags:
- skip_ansible_lint # running a sub job
diff --git a/roles/test-vsg/tasks/main.yml b/roles/test-vsg/tasks/main.yml
index 5e029f7..6beb908 100644
--- a/roles/test-vsg/tasks/main.yml
+++ b/roles/test-vsg/tasks/main.yml
@@ -50,8 +50,8 @@
shell: lxc exec testclient -- route | grep default | grep "eth0.222.111"
register: result
until: result | success
- retries: 3
- delay: 10
+ retries: 20
+ delay: 30
tags:
- skip_ansible_lint # running a sub job