Specific hostname for testing

Current tests are using localhost, which is fine but may not be real
world.

Change-Id: Ia85c95c4c454e153e5bc70ddb0e0df9d3af98f16
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-03-01 19:12:55 -05:00
parent ef8626a068
commit 50b7894ade
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[all]
[test]
# NOTE(pabelanger): We should not be hard-coding jenkins here, since it limits
# who can run this test. However, ansible 2.0 has broken ansible_user and it
# now requires to be setup, otherwise it will return nil.
localhost ansible_user=jenkins
test01 ansible_host=localhost ansible_user=jenkins

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- hosts: localhost
- hosts: test
become: yes
vars:
rolename: "{{ lookup('pipe', 'pwd') | dirname | basename }}"