Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./roles/cloudera_manager/repo/tasks/main-RedHat.yml uses unsupported parameter #172

Closed
hadoopch opened this issue Dec 15, 2023 · 2 comments · Fixed by #182
Closed

./roles/cloudera_manager/repo/tasks/main-RedHat.yml uses unsupported parameter #172

hadoopch opened this issue Dec 15, 2023 · 2 comments · Fixed by #182
Assignees
Labels
bug Something isn't working
Milestone

Comments

@hadoopch
Copy link

Hi all,

if i run the cluster playbook a second time i get an error regarding an unsupported parrameter

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

The error is provoked by the parameter warn

- name: yum-clean-metadata
  command: yum clean metadata
  args:
     warn: no

Regards

Uli

@hadoopch
Copy link
Author

There is a similar issue with

roles/cloudera_manager/license/tasks/enterpise.yml:


- name: Post license file to Cloudera Manager API
  shell: >
    curl
    --user {{ cloudera_manager_api_user }}:{{ cloudera_manager_api_password }}
    --request POST
    --header 'Content-Type:multipart/form-data'
    --form license=@{{ license_local_tmp_path }}
    {{ license_response.url }}
  args:
    warn: False
  register: response
  failed_when: "'owner' not in response.stdout"
  when: license_not_installed

@wmudge wmudge added the bug Something isn't working label Dec 18, 2023
@wmudge wmudge self-assigned this Dec 20, 2023
@wmudge wmudge added this to the Release 4.3.0 milestone Dec 20, 2023
@wmudge
Copy link
Member

wmudge commented Dec 21, 2023

Updated in #182

@wmudge wmudge closed this as completed Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants