"Updates"
This commit is contained in:
+60
-8
@@ -8,29 +8,68 @@ sudo vim ~/.ansible/inventory.yaml
|
|||||||
all:
|
all:
|
||||||
hosts:
|
hosts:
|
||||||
bob:
|
bob:
|
||||||
|
var_hostname: bob
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_user: pleb
|
ansible_user: pleb
|
||||||
carlo:
|
carlo:
|
||||||
|
var_hostname: carlo
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_user: pleb
|
ansible_user: pleb
|
||||||
gary:
|
gary:
|
||||||
|
var_hostname: gary
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_user: pleb
|
ansible_user: pleb
|
||||||
sandy:
|
sandy:
|
||||||
|
var_hostname: sandy
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_user: pleb
|
ansible_user: pleb
|
||||||
krabs:
|
krabs:
|
||||||
|
var_hostname: krabs
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_user: pleb
|
ansible_user: pleb
|
||||||
sheldon:
|
sheldon:
|
||||||
|
var_hostname: sheldon
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_user: pleb
|
ansible_user: pleb
|
||||||
bernie:
|
bernie:
|
||||||
|
var_hostname: bernie
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_user: pleb
|
ansible_user: pleb
|
||||||
patrick:
|
patrick:
|
||||||
|
var_hostname: patrick
|
||||||
ansible_connection: ssh
|
ansible_connection: ssh
|
||||||
ansible_user: pleb
|
ansible_user: pleb
|
||||||
|
pearl:
|
||||||
|
var_hostname: pearl
|
||||||
|
ansible_connection: ssh
|
||||||
|
ansible_user: pleb
|
||||||
|
|
||||||
|
control:
|
||||||
|
hosts:
|
||||||
|
sandy:
|
||||||
|
var_hostname: sandy
|
||||||
|
ansible_connection: ssh
|
||||||
|
ansible_user: pleb
|
||||||
|
|
||||||
|
workers:
|
||||||
|
hosts:
|
||||||
|
gary:
|
||||||
|
var_hostname: gary
|
||||||
|
ansible_connection: ssh
|
||||||
|
ansible_user: pleb
|
||||||
|
sheldon:
|
||||||
|
var_hostname: sheldon
|
||||||
|
ansible_connection: ssh
|
||||||
|
ansible_user: pleb
|
||||||
|
pearl:
|
||||||
|
var_hostname: pearl
|
||||||
|
ansible_connection: ssh
|
||||||
|
ansible_user: pleb
|
||||||
|
|
||||||
|
nodes:
|
||||||
|
children:
|
||||||
|
control:
|
||||||
|
workers:
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -39,14 +78,27 @@ sudo vim ~/.ansible/inventory
|
|||||||
|
|
||||||
```
|
```
|
||||||
[all]
|
[all]
|
||||||
bob ansible_connection=ssh ansible_user=pleb
|
bob ansible_connection=ssh ansible_user=pleb var_hostname=bob
|
||||||
carlo ansible_connection=ssh ansible_user=pleb
|
carlo ansible_connection=ssh ansible_user=pleb var_hostname=carlo
|
||||||
gary ansible_connection=ssh ansible_user=pleb
|
gary ansible_connection=ssh ansible_user=pleb var_hostname=gary
|
||||||
sandy ansible_connection=ssh ansible_user=pleb
|
sandy ansible_connection=ssh ansible_user=pleb var_hostname=sandy
|
||||||
krabs ansible_connection=ssh ansible_user=pleb
|
krabs ansible_connection=ssh ansible_user=pleb var_hostname=krabs
|
||||||
sheldon ansible_connection=ssh ansible_user=pleb
|
sheldon ansible_connection=ssh ansible_user=pleb var_hostname=sheldon
|
||||||
bernie ansible_connection=ssh ansible_user=pleb
|
bernie ansible_connection=ssh ansible_user=pleb var_hostname=bernie
|
||||||
patrick ansible_connection=ssh ansible_user=pleb
|
patrick ansible_connection=ssh ansible_user=pleb var_hostname=patrick
|
||||||
|
pearl ansible_connection=ssh ansible_user=pleb var_hostname=pearl
|
||||||
|
|
||||||
|
[control]
|
||||||
|
sandy ansible_connection=ssh ansible_user=pleb var_hostname=sandy
|
||||||
|
|
||||||
|
[workers]
|
||||||
|
gary ansible_connection=ssh ansible_user=pleb var_hostname=gary
|
||||||
|
sheldon ansible_connection=ssh ansible_user=pleb var_hostname=sheldon
|
||||||
|
pearl ansible_connection=ssh ansible_user=pleb var_hostname=pearl
|
||||||
|
|
||||||
|
[nodes:children]
|
||||||
|
control
|
||||||
|
workers
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user