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

Enable role argument validation based on an argument specification #195

Open
Normo opened this issue Mar 15, 2024 · 0 comments
Open

Enable role argument validation based on an argument specification #195

Normo opened this issue Mar 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Normo
Copy link
Member

Normo commented Mar 15, 2024

Once we place the argument specification into the meta/argument_specs.yml file, Ansible will automatically use it to validate variables before executing an Ansible role.

See https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#role-argument-validation

@Normo Normo added the enhancement New feature or request label Mar 15, 2024
@Normo Normo self-assigned this Mar 15, 2024
@Normo Normo added this to the v4.0.0 milestone Mar 15, 2024
@Normo Normo removed this from the v4.0.0 milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant