Fix: Remove unsupported param with ansible 9x 00/72700/4 v0.16.3
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 29 Feb 2024 02:53:48 +0000 (12:53 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 29 Feb 2024 22:38:13 +0000 (08:38 +1000)
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

provision/install-base-pkgs-RedHat.yaml

index f02ed4d..c4d9513 100644 (file)
         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: