Prefixing Variables and Separating Words in AnsibleDocumentationGuidelinesCoding and ConfigurationVariable Prefixing and Word SeparationPrefix public role variables with the role name, internal role variables with __role_name_, inventory-only variables with a project prefix, and separate words with underscores in Ansible variable names.Categories:GuidelineTags:Group_varsInventoryRolesAnsible-Lint
LintersDocumentationHow-toDev EnvironmentLintersImprove code quality, identify potential issues early on, and ensure adherence to coding standards.Categories:How-ToTags:LinuxUbuntuLaptopLintersAnsibleYamlAnsible-LintYamllint
Pre-Commit Hook ScriptDocumentationGuidelinesStructureClone scriptPre-Commit Hook ScriptExample of a pre-commit hook script in the ansible-inventory reference implementation, demonstrating automated linting for Ansible projects.Categories:ExampleTags:Pre-CommitGitHookScriptAnsible-LintYamllint