Re: [ansible-project] Ansible but with Python instead of YAML

2019-02-06 Thread Kai Stian Olstad
On 01.02.2019 16:48, Thomas Güttler wrote: Am Freitag, 1. Februar 2019 15:20:14 UTC+1 schrieb Josh Smift: 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.

Re: [ansible-project] Ansible but with Python instead of YAML

2019-02-02 Thread Stuart Longland
On 1/2/19 11:07 pm, Thomas Güttler wrote: > 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. It's not a language, it's a serialisation format like JSON, it's a superset

Re: [ansible-project] Ansible but with Python instead of YAML

2019-02-01 Thread Thomas Güttler
Am Freitag, 1. Februar 2019 15:20:14 UTC+1 schrieb Josh Smift: > > 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 >

Re: [ansible-project] Ansible but with Python instead of YAML

2019-02-01 Thread Josh Smift
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

Re: [ansible-project] Ansible but with Python instead of YAML

2019-02-01 Thread Jonathan Lozada De La Matta
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 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

Re: [ansible-project] Ansible but with Python instead of YAML

2019-02-01 Thread Thomas Güttler
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

Re: [ansible-project] Ansible but with Python instead of YAML

2019-02-01 Thread 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

[ansible-project] Ansible but with Python instead of YAML

2019-02-01 Thread Thomas Güttler
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? -- You received this message because you are subscribed to the