cancel
Showing results for 
Search instead for 
Did you mean: 
Trevor
Commander Commander
Commander
  • 77 Views

Inventory Definition Syntax

--- prod: children: westus: hosts: srv3: srv[1:2]: prefered_python: /usr/bin/python3.6 centralus:hosts: srv4

vs

[prod] [prod:children] westus centralus [westus] srv[1:2] prefered_python=/usr/bin/python3.6 srv3 [centralus] srv4

 

Are the above 2 lines equivalent inventory definitions?  If so, what does the syntax (format) look like
when entered into an actual file?   Also, will they set a variable, just for the srv1 and srv2 host, in the
westus group?

 

Trevor "Red Hat Evangelist" Chandler
Labels (1)
0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.