-
Spike
-
Resolution: Unresolved
-
Major
-
None
-
None
** Note that this is a public ticket, please refrain from adding any sensitive data. **
Description of Problem
Remediation Playbook uses old sytax code, which does not use FQCN in the playbook created for Remediation plan in HCC. For example, a playbook might include this:
- name: update packages
hosts: "..."
tasks:
- name: check for update
shell: "..."
A more modern playbook would reference ansible.builtin.shell, not shell.
How reproducible
Always. Procedure:
- Create a remediation plan, and download a playbook for that plan, with a call to GET /remediations/:id/playbook, or
- Create a playbook with a call to POST /playbook.
Actual Behavior
Playbooks don't use FQCNs.
Expected Behavior
Playbooks use FQCNs.
Next steps:
- Determine the minimum version of ansible-runner which supports FQCNs.
- Determine which versions of ansible-runner our various rhc-worker-playbook packages provide.
- links to