Skip to content

Commit debd63e

Browse files
committed
tests
1 parent 25cfb6a commit debd63e

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

Diff for: .travis.yml

-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ install:
1818
# Check ansible version
1919
- ansible --version
2020

21-
# Create ansible.cfg with correct roles_path
22-
- printf '[defaults]\nroles_path=../' >ansible.cfg
23-
2421
script:
2522
# Basic role syntax check
2623
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# oracle-java8
1+
# oracle_java8
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub release](https://img.shields.io/github/release/codeyourinfra/oracle-java8.svg)]() [![Build status](https://travis-ci.org/codeyourinfra/oracle-java8.svg?branch=master)](https://travis-ci.org/codeyourinfra/oracle-java8)
44

@@ -10,7 +10,7 @@ Ansible role to install Oracle Java 8.
1010
---
1111
- hosts: servers
1212
roles:
13-
- codeyourinfra.oracle-java8
13+
- codeyourinfra.oracle_java8
1414
```
1515
1616
## License

Diff for: ansible.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[defaults]
2+
roles_path=../

Diff for: tests/inventory

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
localhost
1+
[containers]
2+
bionic
3+
xenial
24

5+
[containers:vars]
6+
ansible_connection=docker

Diff for: tests/test.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
- hosts: localhost
3-
remote_user: root
2+
- hosts: containers
43
roles:
5-
- oracle-java8
4+
- oracle_java8

0 commit comments

Comments
 (0)