Debian Codegraph @

examples/roles/hello/meta/argument_specs.yml

raw
1 ---
2 # https://docs.ansible.com/projects/ansible/latest/user_guide/playbooks_reuse_roles.html#role-argument-validation
3 argument_specs:
4 main:
5 short_description: The main entry point for the role.
6 description: "a longer description"
7 options:
8 my_app_int:
9 type: "int"
10 required: false
11 default: 42
12 description: "The integer value, defaulting to 42."
13 no_log: false
14
15 my_app_str:
16 type: "str"
17 required: true
18 description: "The string value"
19
20 alternate:
21 short_description: The alternate entry point for the my_app role.
22 options:
23 my_app_int:
24 type: "int"
25 required: false
26 default: 1024
27 description: "The integer value, defaulting to 1024."