Commit eda6992709efd1837826858016ab9ae1e160726f

Authored by Ricardo Gon├žalves
1 parent fc49dfc2fc
Exists in master

changes

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
hosts
... ... @@ -18,8 +18,8 @@
18 18 # Ex 2: A collection of hosts belonging to the 'webservers' group
19 19  
20 20 [webservers]
21   -10.10.10.57 ansible_python_interpreter={{path_to_python}}
22   -10.10.10.47 ansible_python_interpreter={{path_to_python}}
  21 +10.10.10.57 ansible_ssh_user=ubuntu ansible_python_interpreter={{path_to_python}}
  22 +10.10.10.47 ansible_ssh_user=ubuntu ansible_python_interpreter={{path_to_python}}
23 23  
24 24 # If you have multiple hosts following a pattern you can specify
25 25 # them like this:
... ... @@ -29,7 +29,7 @@
29 29 # Ex 3: A collection of database servers in the 'dbservers' group
30 30  
31 31 [dbservers]
32   -10.10.10.74 ansible_python_interpreter={{path_to_python}}
  32 +10.10.10.74 ansible_ssh_user=ubuntu ansible_python_interpreter={{path_to_python}}
33 33  
34 34 # Here's another example of host ranges, this time there are no
35 35 # leading 0s:
... ... @@ -37,7 +37,7 @@
37 37 #db-[99:101]-node.example.com
38 38  
39 39 [proxyserver]
40   -10.10.10.33:22 ansible_ssh_user=ubuntu ansible_python_interpreter={{path_to_python}}
  40 +10.10.10.33:30023 ansible_ssh_user=ubuntu ansible_python_interpreter={{path_to_python}}
41 41  
42 42 [jenkinserver]
43 43 193.136.46.156:30022 ansible_ssh_user=ubuntu
... ...