DEV Community

Query Filter
Query Filter

Posted on

docker42

- name: "Install: Unpack RPM via Built-in Shell (Fallback) #noqa: fqcn[action-core] command-shell"
  vars:
    pkg_manager: "/usr/bin/yum"
  ansible.builtin.shell: "sudo -n {{ pkg_manager }} install -y {{ found_rpms.files[0].path }} --allowerasing --nogpgcheck"
  args:
    warn: false
  become: no
  register: rpm_install_status
Enter fullscreen mode Exit fullscreen mode

Top comments (0)