I am using a different config management tool up to now (not ansible).
I think about switching to ansible.
But I don't like YAML.
I like Python.
Is it doable to use Python syntax instead of YAML?
Is it feasible to do this?
I can't think of a situation where using Ansible without YAML
would be feasible.
Having said that, what makes you dislike YAML so much so that you
would think of using something like Ansible without YAML?
-
Sudheer
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/61ba0cc3-49de-4c2d-8b92-93a6583f2929%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 01/02/19 4:12 PM, Thomas Güttler wrote:
Ansible embraces YAML.I am using a different config management tool up to now (not ansible).
I think about switching to ansible.
But I don't like YAML.
Technically, yes. But you'll hardly reap the benefits of Ansible without YAML.I like Python.
Is it doable to use Python syntax instead of YAML?
Is it feasible to do this?I can't think of a situation where using Ansible without YAML would be feasible.
Having said that, what makes you dislike YAML so much so that you would think of using something like Ansible without YAML?
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f84567c7-ce70-4f10-a06e-77c13b21736d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jonathan lozada de la matta
AUTOMATION PRACTICE
YAML is great; I was confused at first because I thought it was a "markup language" like HTML, but it's just a way to represent data structures.It's not a programming language, though. If you want to write your system configuration in a programming language (Python, in this case :^), you might want to check out OpsMop (https://opsmop.io/), the latest thing by the guy who originally wrote Ansible. My impression is that it's still pretty bleeding-edge, but looks like it has promise.
I would take a look at Troposphere. It is a Python project that creates JSON / YAML for Cloudformation scripts. Very similar to what you want to do. I have not heard of the same project for Ansible