Skip to content

Instantly share code, notes, and snippets.

@firemanxbr
Created April 23, 2018 09:06
Show Gist options
  • Save firemanxbr/946c61cbb5cbbced452f2b1a8580b3c2 to your computer and use it in GitHub Desktop.
Save firemanxbr/946c61cbb5cbbced452f2b1a8580b3c2 to your computer and use it in GitHub Desktop.
ansible-lint
[firemanxbr@firemanxbr playbooks]$ ansible-lint call-sanity-tests.yml
[ANSIBLE0012] Commands should not change things if nothing needs doing
call-sanity-tests.yml:20
Task/Handler: Get VM Resource name
[ANSIBLE0010] Package installs should not use latest
call-sanity-tests.yml:31
Task/Handler: Install pre-requisites
[ANSIBLE0016] Tasks that run when changed should likely be handlers
call-sanity-tests.yml:48
Task/Handler: Restart docker
[ANSIBLE0012] Commands should not change things if nothing needs doing
call-sanity-tests.yml:59
Task/Handler: run docker images
[ANSIBLE0013] Use shell only when shell functionality is required
call-sanity-tests.yml:59
Task/Handler: run docker images
[ANSIBLE0012] Commands should not change things if nothing needs doing
call-sanity-tests.yml:74
Task/Handler: Call Sanity Tests
[firemanxbr@firemanxbr playbooks]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment