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:
Paul Belanger 2016-03-25 18:32:25 -04:00
parent a591dc8f5f
commit cd966cb47d
3 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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]