Trevor
Starfighter Starfighter
Starfighter
  • 651 Views

YAML or Ansible?

Hello all,

I was reading a document, and it contained the following sentence:  "YAML uses SSH protocol to communicate with remote servers."

Now this may be a little trivial, but because this doesn't seem accurate to me, and I'm a "stickler" for accuracy, I'm compelled to get input from the Ansible vanguard.  With my being in the developmental stages of my Ansible education, I'm not yet qualified to definitively challenge the statement.

I would think it would be more accurate for the sentence to read "Anisble uses SSH ..."

Anyway, I look forward to your comment(s).  Thank you in advance.  Hope everyone is safe, well, and warm!

 

Trevor "Red Hat Evangelist" Chandler
Labels (1)
0 Kudos
11 Replies
matteoclc
Flight Engineer
Flight Engineer
  • 637 Views

Re: YAML or Ansible?

Hello Trevor,
you are totally right: YAML is the language used to write Ansible playbooks.
An even more accurate sentence would be
"Ansible uses SSH protocol to communicate with remote Linux servers."
That's because we use other methods to reach windows servers (see WinRM)

Good luck with your Ansible journey

Ciao
--
Matteo Calcagnini
Reply
Loading...
Trevor
Starfighter Starfighter
Starfighter
  • 625 Views

Re: YAML or Ansible?

Thanks again Ciao.  Time for me to trash this resource that I'm reading about Ansible.  

Thanks for the well wishes on my Ansible journey.  You haven't heard the last of me.

Hope you're safe and well!

 

Trevor "Red Hat Evangelist" Chandler
0 Kudos
Reply
Loading...
matteoclc
Flight Engineer
Flight Engineer
  • 616 Views

Re: YAML or Ansible?

You're welcome Trevor, and my name is Matteo, I know I put "Ciao" at the end of the post but it's only the Italian way to greet

Ciao!

Matteo
--
Matteo Calcagnini
Reply
Loading...
Trevor
Starfighter Starfighter
Starfighter
  • 598 Views

Re: YAML or Ansible?

Whoops!  Don't I feel like the village idiot now. My most humble apologies Matteo.  

I had even thought that Ciao was some sort of emoji, but not being
very acquainted with those, I just made a decision that Ciao was 
your name.  Well, once again, through a mistake, i've advanced my
knowledge.  Through this whole exchange, I've gotten some very
valuable information on Ansible, and I've learned my first word in
the italian language.

Thanks Matteo!

 

Trevor "Red Hat Evangelist" Chandler
Reply
Loading...
matteoclc
Flight Engineer
Flight Engineer
  • 592 Views

Re: YAML or Ansible?

Ahahah! That's a very positive way of thinking Smiley Happy

Don't be too strict with that, if one could be flagged idiot only for making a mistake like this, who could be saved in the whole world?

bye!

--
Matteo Calcagnini
Reply
Loading...
flozano
Moderator
Moderator
  • 575 Views

Re: YAML or Ansible?

I would not say that YAML is a "language used to write Ansible playbook". YAML is just a structured textual data format, nothing else. It has no kewwords, no control statements, no implied meaning. It is not like HTML. If you use YAML for Kubernetes resources you get something entirely different from Ansible playbooks.

So it is Ansible, Kubernetes, whatever consumes YAML files that gives them meaning.

I can see how people who know YAML only from Ansible might consider YAML as a "language"

0 Kudos
Reply
Loading...
matteoclc
Flight Engineer
Flight Engineer
  • 549 Views

Re: YAML or Ansible?

Quoting the official YAML documentation

This document reflects the third version of YAML data serialization language.

https://yaml.org/spec/1.2/spec.html 

I did not spoke about programming language or anything related, so i don't think it's a big mistake referring to YAML as a (data serialization) "language"

--
Matteo Calcagnini
Reply
Loading...
flozano
Moderator
Moderator
  • 535 Views

Re: YAML or Ansible?

Yeah I'm too used to assume that "language" implies "programming". "data serialization language" is fine and correct.

Reply
Loading...
flozano
Moderator
Moderator
  • 572 Views

Re: YAML or Ansible?

Trevor and Matteo, I hope you are not quoting any of Red Hat training materials nor product documentation. ;-)

Reply
Loading...
Join the discussion
You must log in to join this conversation.