Switch from localhost
Since we are using the loopback adaptor for single host testing, lets use different virtual IPs for each node. Change-Id: Ia4b7e14d1acfe40b15f458c1bbd0b1fd003485fb Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
a591dc8f5f
commit
cd966cb47d
|
@ -1,14 +1,14 @@
|
|||
[jenkins]
|
||||
jenkins01 ansible_host=localhost
|
||||
jenkins01 ansible_host=127.0.0.2
|
||||
|
||||
[nodepool-builder]
|
||||
nb01 ansible_host=localhost
|
||||
nb01 ansible_host=127.0.0.3
|
||||
|
||||
[nodepool-server]
|
||||
nodepool ansible_host=localhost
|
||||
nodepool ansible_host=127.0.0.4
|
||||
|
||||
[zuul-merger]
|
||||
zm01 ansible_host=localhost
|
||||
zm01 ansible_host=127.0.0.5
|
||||
|
||||
[zuul-server]
|
||||
zuul ansible_host=localhost
|
||||
zuul ansible_host=127.0.0.6
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
post_tasks:
|
||||
- name: Check HTTP for jenkins
|
||||
delay: 10
|
||||
shell: "curl --head --silent http://localhost/jenkins/"
|
||||
shell: "curl --head --silent http://{{ ansible_host }}/jenkins/"
|
||||
register: result
|
||||
retries: 3
|
||||
until: result.stdout.find('200 OK') != -1
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -27,7 +27,7 @@ commands = python setup.py build_sphinx
|
|||
whitelist_externals = bash
|
||||
commands =
|
||||
flake8
|
||||
bash -c "find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \
|
||||
bash -c "cd playbooks; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \
|
||||
ansible-lint"
|
||||
|
||||
[testenv:venv]
|
||||
|
|
Loading…
Reference in New Issue