Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Unsupported parameter for "command" module #45

Open
fabricat-mdb opened this issue Dec 16, 2022 · 0 comments
Open

Unsupported parameter for "command" module #45

fabricat-mdb opened this issue Dec 16, 2022 · 0 comments

Comments

@fabricat-mdb
Copy link

The Find {{ prometheus_software_name_version }} archive contents task fails with the following error:

FAILED! => {
  "changed": false,
  "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _uses_shell, strip_empty_ends, executable, _raw_params, removes, stdin_add_newline, stdin, argv, creates, chdir."}

The unsupported parameter is warn here:

- name: Find {{ prometheus_software_name_version }} archive contents
command: 'tar -tf {{ prometheus_software_archive_file }}'
args:
# Do not warn that we are running the tar command directly
warn: false

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant