Fix: Remove unsupported params with ansible 9.x 27/72727/1 v0.16.4
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 6 Mar 2024 11:44:48 +0000 (21:44 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 6 Mar 2024 11:59:22 +0000 (21:59 +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
Change-Id: I8cc076ac42824e4b92396021d088fffca25ae361
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
provision/devstack-pre-pip-centos.yaml
provision/install-base-pkgs-RedHat.yaml

index 34c99ed..3919922 100644 (file)
@@ -68,8 +68,6 @@
         - name: "Read openstack devstack dependencies" # noqa no-changed-when
           ansible.builtin.shell: "sed -e 's/#.*//' /tmp/devstack/files/rpms/general"
           register: sed_output
-          args:
-            warn: false
         - name: "Install non-baseline requirements for {{ os_branch }}"
           ansible.builtin.yum: # noqa no-changed-when
             name: "{{ sed_output.stdout_lines }}"
             exit 0
           args:
             chdir: /tmp/devstack
-            warn: false
           with_items:
             - requirements
             - keystone
index c4d9513..92d441e 100644 (file)
     - name: Enable pki-core
       ansible.builtin.command:
         cmd: dnf module enable pki-core -y
-        warn: false
       become: true
     - name: Enable pki-deps
       ansible.builtin.command:
         cmd: dnf module enable pki-deps -y
-        warn: false
       become: true
   when: ansible_os_family == 'RedHat' and ansible_facts['distribution_major_version'] is version('8', '>=')