Error:
Unsupported parameters for (ansible.legacy.command) module: warn.
Supported parameters include: _raw_params, _uses_shell, argv, chdir,
creates, executable, expand_argument_vars, removes, stdin,
stdin_add_newline, strip_empty_ends.
Issue: RELENG-5175
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I20029e1bcf03b68a4a4681a23e332a8bcb5a0d97
manager: auto
- name: Replace git with git236
ansible.builtin.command: yum replace -y git --replace-with git236
- args:
- warn: false
when: ansible_facts.packages['git'] is defined
become: true
when: