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

Unsupported parameter for "command" module #45

@fabricat-mdb

Description

@fabricat-mdb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions