Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Anyway to render jinja templates like all.yml or group vars using ansible api?
13 views
Skip to first unread message
ja...@blend.com
unread,
Jul 5, 2017, 8:35:59 PM
7/5/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Would like to access the all.yml, group_vars variables outside the context of a playbook?
Ideally through the api
Less ideal output a rendered all.yml, then i'll read it afterwards.
Brian Coca
unread,
Jul 5, 2017, 9:34:09 PM
7/5/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Just use pyyaml to import the file?
--
----------
Brian Coca
ja...@blend.com
unread,
Jul 5, 2017, 9:53:10 PM
7/5/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Need it to work with variables / filters / boolean logic, etc. It's not a static file.
Reply all
Reply to author
Forward
0 new messages