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>
- 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
- 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', '>=')