1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-29 23:49:09 +00:00

Have command nanny tell you how to disable the warning (#34061)

* Have command nanny tell you how to disable the warning
This commit is contained in:
Toshio Kuratomi 2017-12-19 17:30:10 -08:00 committed by GitHub
parent 790c06c079
commit 2e1c889275
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 4 deletions

View file

@ -43,7 +43,7 @@
assert:
that:
- "tar.warnings | length() == 1"
- "'Consider using unarchive module rather than running tar' in tar.warnings[0]"
- "'Consider using the unarchive module rather than running tar' in tar.warnings[0]"
- name: use command to execute chown
command: chown -h
@ -54,7 +54,7 @@
assert:
that:
- "chown.warnings | length() == 1"
- "'Consider using file module with owner rather than running chown' in chown.warnings[0]"
- "'Consider using the file module with owner rather than running chown' in chown.warnings[0]"
- name: use command with unsupported executable arg
command: ls /dev/null executable=/bogus