top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Can someone please explain exact format of hosts file in Ansible?

0 votes
336 views
Can someone please explain exact format of hosts file in Ansible?
posted Feb 4, 2017 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

hosts file contains the machines information either in the form of IP or FQDN format.
List of individual machines can be grouped together as following:
[group_name]
IP/FQDN of machines

answer Apr 25, 2017 by Harshita
Similar Questions
+1 vote

Is there any option to control execution of ansible playbook by mean of user interactive mode ? I mean before executing any task it prompts for the user input and based on user input it takes action to run or not.

0 votes

A playbook may consist of multiple tasks and as per my understanding it runs from top to bottom. Is there any way to start execution from a task other than first one ? If yes then what is the way to do that ?

+1 vote

I want to know about the significance of each symbol like [ ,{, < , *[ etc used to define a diameter message. Looking for a detailed description.

...