Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adhere to naming Conventions for galaxy #1

Open
bottkars opened this issue Dec 6, 2024 · 0 comments
Open

Adhere to naming Conventions for galaxy #1

bottkars opened this issue Dec 6, 2024 · 0 comments

Comments

@bottkars
Copy link
Collaborator

bottkars commented Dec 6, 2024

Role name : use lowercase letters and hyphens to separate words: For example, web-server or database-backup.
Task file name: user lowercase letters and underscores to separate words. When statements such as include are used, it is convenient to have file names without hyphens. For example: install_web_ubuntu.yml
YAML file extension: yml instead yaml. To be consistent and succinct.
Task name: start with a verb: Use an action verb at the beginning of the task name to indicate what the role does. For example, Install Nginx or Configure firewall. Start with a capital letter. No need to end with a period for a few words of task description.
Variable name: lowercase letters and underscores to separate words. The variable must start with the role name. For example, if the role name is nginx, the variable name should be nginx_default_hostname.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant