False Positive on: 'command-instead-of-module' - "tar used in place of unarchive module" #3488
Replies: 1 comment
-
This appears to be a non issue if you just delegate the unarchive to the local machine. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Take this use-case of extracting an archive to some local temp staging directory (before interacting with any remotes)...
The "unarchive" module is not applicable here because it extracts to the remote machine(s).
In this case the use of the tar command is valid, so it doesn't seem like it should be failing during any tests/lints. However, ansible-lint will flag it with a "command-instead-of-module" failure.
Beta Was this translation helpful? Give feedback.
All reactions