From: Anil Belur Date: Thu, 29 Feb 2024 02:53:48 +0000 (+1000) Subject: Fix: Remove unsupported param with ansible 9x X-Git-Tag: v0.16.3^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F72700%2F4;p=releng%2Fcommon-packer.git Fix: Remove unsupported param with ansible 9x 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 Change-Id: I20029e1bcf03b68a4a4681a23e332a8bcb5a0d97 --- diff --git a/provision/install-base-pkgs-RedHat.yaml b/provision/install-base-pkgs-RedHat.yaml index f02ed4d..c4d9513 100644 --- a/provision/install-base-pkgs-RedHat.yaml +++ b/provision/install-base-pkgs-RedHat.yaml @@ -149,8 +149,6 @@ 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: