I am building an Ansible playbook to create a new project, add a user role, 
work with security groups, and other new-project tasks. The playbook 
creates a project after asking for some input and would need to continue 
working on that project through the remaining tasks. 

The os_security_group_rule module documentation states the project name or 
ID should either be in the auth dictionary or in the cloud file. The cloud 
file isn't feasible unless I wrap the entire playbook in a Python script. 

This may be due to my own ignorance about Ansible - is there a better way 
to add the project name or project ID to the playbook, such as 
'project_name: {{ variable }}' ? Or is this module not coded to pass this 
information in as an option? 

The module documentation has no such option directly. 

If there is no such option, can I add the project_name to auth: without the 
other dictionary objects since I use a cloud file? 

-- 
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/a1dd2a50-fc7d-43ea-9807-f957366aae4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to