Actions
Bug #38163
closedArgument list too long in "Install errata by search query - Katello Ansible Default" when applying multiple errata
Status:
Closed
Priority:
Normal
Assignee:
Category:
Errata Management
Target version:
Description
When I apply multiple errata to a single Host via Ansible using Web UI, it generates a yum command with all advisories in the system:
TASK [shell] ******************************************************************* fatal: [vm-0038.service.int.rabe.ch]: FAILED! => {"changed": false, "cmd": "yum -y update-minimal --advisory=FEDORA-EPEL-2019-ed30228d6b --advisory=ALBA-2020:5097 (more --advisory args omitted for brevity)", "msg": "[Errno 7] Argument list too long: '/bin/sh'", "rc": 7, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
It should only generate a command for the applicable and installable advisories.
Actions