Description of problem: Accessing https://cloud.redhat.com/ansible/automation-hub/repo/published/redhat/satellite/content/module/os_default_template will show that someone can select "ptable" as one of the template_kind but there are no such template kind available in Satellite or foreman. This can cause confusion if someone thinks they can use this module to associate a partition_table with an OS. The only available template kinds are as follows. # curl -ksu admin:RedHat1! https://`hostname -f`//api/template_kinds | json_reformat | grep name "name": "Bootdisk", "name": "PXELinux", "name": "PXEGrub", "name": "PXEGrub2", "name": "iPXE", "name": "provision", "name": "finish", "name": "script", "name": "user_data", "name": "ZTP", "name": "POAP", "name": "cloud-init", "name": "registration", "name": "kexec", Exact same DATA is present in upstream foreman modules as well --> https://theforeman.github.io/foreman-ansible-modules/v2.1.0/plugins/os_default_template_module.html#parameter-template_kind Version-Release number of selected component (if applicable): Red Hat Satellite Ansible connection [any version] How reproducible: Always Steps to Reproduce: NA Actual results: NA Expected results: NA Additional info: NA
Verified in 6.12 snap 10 ptable no longer an option for os_default_template template_kind parameter. Steps to Reproduce: 1) # ansible-doc -M /usr/share/ansible/collections/ansible_collections/redhat/satellite/plugins/modules os_default_template Results: = template_kind name of the template kind (Choices: Bootdisk, cloud-init, finish, host_init_config, iPXE, job_template, kexec, POAP, provision, PXEGrub, PXEGrub2, PXELinux, registration, script, user_data, ZTP) type: str Notes: The initial link to https://cloud.redhat.com/ansible/automation-hub/repo/published/redhat/satellite/content/module/os_default_template no longer shows ptable either.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.12 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:8506