Hello!

I have a single playbook that with various plays in it.

It goes out to different environments, either dev, uat, or prod (based on 
the --extra-vars input by the user deploying the playbook). 


i.e. ansible-playbook -i hosts deploy.yml --extra-vars "env=uat"


Is there anyway I can set the ansible-playbook to require a password if a 
user selects the prod environment?

They should be allowed to deploy to dev and uat without any authentication 
or passwords.

Thanks
JS

-- 
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/ee982bf7-dc4d-4555-9f1a-e46af6e2afdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to