I know you can declare variables as part of a role:


> └── wordpress-nginx
>     ├── LICENSE.md
>     ├── README.md
>     ├── group_vars
>     │   └── all
>     ├── hosts.example
>     ├── roles
>     │   ├── common
>     │   │   ├── files
>     │   │   │   ├── RPM-GPG-KEY-EPEL-6
>     │   │   │   ├── epel.repo
>     │   │   │   └── iptables-save
>     │   │   ├── handlers
>     │   │   │   └── main.yml
>     │   │   └── vars
>     │   │       └── main.yml
>
>
but can you specify vars_prompts under a role as well?  I tried both 
vars_prompt/main.yml and prompts/main.yml but my ansible-playbook prompts 
me for neither.  Running with Ansible 1.7.2.

I have many playbooks that all share the same role.  The prompts are really 
specific to the role, not an individual playbook.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d3d7811a-156c-48ab-a177-977527c0abfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to