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.

On Friday, February 1, 2019 at 8:56:54 AM UTC-5, Jonathan Lozada De La 
Matta wrote:
>
> if you know that then its pretty easy to leanr YML. Specially when the 
> ansible documents have a lot of examples.
>
> On Fri, Feb 1, 2019 at 8:07 AM Thomas Güttler <[email protected] 
> <javascript:>> wrote:
>
>>
>>
>> Am Freitag, 1. Februar 2019 12:33:48 UTC+1 schrieb Sudheer S:
>>>
>>>
>>> On 01/02/19 4:12 PM, Thomas Güttler wrote:
>>>
>>> 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.
>>>
>>> Ansible embraces YAML.
>>>
>>> I like Python.
>>>
>>> Is it doable to use Python syntax instead of YAML?
>>>
>>> Technically, yes. But you'll hardly reap the benefits of Ansible without 
>>> 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?
>>>
>>
>> I know how to create dicts, lists, strings, multiline-strings with 
>> python. The syntax is easy and simple.
>>
>> I am lazy. I just don't know why I should learn a new language.
>>
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/f84567c7-ce70-4f10-a06e-77c13b21736d%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/f84567c7-ce70-4f10-a06e-77c13b21736d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
>
> Jonathan lozada de la matta
>
> AUTOMATION PRACTICE
>
>
>  
>
>

-- 
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/ac4a0740-e0f8-49a4-b05c-c8021bc31f76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to