Skip to content

Conversation

@jan-cerny
Copy link
Collaborator

Description:

Use fully qualified collection name in Ansible tasks where it isn't used yet.

Rationale:

Ansible recommends to use the Fully Qualified Collection Name (FQCN) for easy linking to the module documentation and to avoid conflicting with other collections that may have the same module name.

Review Hints:

@jan-cerny jan-cerny added this to the 0.1.78 milestone Aug 13, 2025
@jan-cerny jan-cerny added the Ansible Ansible remediation update. label Aug 13, 2025
@Mab879 Mab879 self-assigned this Aug 13, 2025
Copy link
Member

@Mab879 Mab879 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ansible lint outputs the following:

fqcn[canonical][/]: You should use canonical module name ansible.posix.sysctl instead of ansible.builtin.sysctl.

Can you please fix this?

Copy link
Member

@Mab879 Mab879 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

This will help reduce the number of errors during Ansible lint.

@Mab879 Mab879 merged commit 9570cda into ComplianceAsCode:master Aug 14, 2025
123 of 130 checks passed
matusmarhefka added a commit to matusmarhefka/contest that referenced this pull request Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ansible Ansible remediation update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants