Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem: I get following error with this playbook: # cat > inventory.ini <<EOF [servers] server ansible_host=123.45.67.89 [clients] client ansible_host=123.45.67.98 EOF # cat > playbook.yaml <<EOF - name: server tcp hosts: servers roles: - rhel-system-roles.selinux - rhel-system-roles.logging vars: selinux_ports: - ports: "{{ _port }}" proto: tcp setype: syslogd_port_t state: present logging_inputs: - name: system_input type: basics - name: remote_input type: remote tcp_ports: [ "{{ _port }}" ] logging_outputs: - name: files_output type: files logging_flows: - name: flows inputs: [system_input, remote_input] outputs: [files_output] - name: client tcp hosts: clients roles: - rhel-system-roles.selinux - rhel-system-roles.logging vars: selinux_ports: - ports: "{{ _port }}" proto: tcp setype: syslogd_port_t state: present logging_inputs: - name: system_input type: basics logging_outputs: - name: files_output type: files - name: forward_output type: forwards facility: local2 target: 123.45.67.89 tcp_port: "{{ _port }}" logging_flows: - name: flows inputs: [system_input] outputs: [files_output, forward_output] EOF # ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i inventory.ini playbook.yaml --extra-vars '_port=50514' ERROR! couldn't resolve module/action 'selinux'. This often indicates a misspelling, missing collection, or incorrect module path. The error appears to be in '/usr/share/ansible/roles/rhel-system-roles.selinux/tasks/main.yml': line 31, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Set permanent SELinux state if enabled ^ here Version-Release number of selected component (if applicable): rhel-system-roles-1.8.3-2.el9 ansible-core-2.11.3-4.el9_b How reproducible: 100%