Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit be3317d

Browse files
authored
add ansible-lint
1 parent ed3748f commit be3317d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ before_install:
5555
- 'docker pull rndmh3ro/docker-${distro}-ansible:${version}'
5656

5757
script:
58+
- pip install --user ansible-lint
59+
- ansible-lint ./
60+
5861
- container_id=$(mktemp)
5962
# Run container in detached state.
6063
- 'docker run --detach --volume="${PWD}":/etc/ansible/roles/ansible-ssh-hardening:ro ${run_opts} rndmh3ro/docker-${distro}-ansible:${version} "${init}" > "${container_id}"'

0 commit comments

Comments
 (0)