Browse Source

Specific hostname for testing

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

Change-Id: Idb7816f342482bfe173debf9ff4a8a4fc4d15db0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
changes/69/286869/1
Paul Belanger 4 years ago
parent
commit
a265286484
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      tests/inventory
  2. +1
    -1
      tests/test.yaml

+ 2
- 2
tests/inventory View File

@@ -1,2 +1,2 @@
[all]
localhost ansible_connection=local
[test]
test01 ansible_host=localhost

+ 1
- 1
tests/test.yaml 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 }}"


Loading…
Cancel
Save