Skip to content

Commit a42ca2f

Browse files
committed
Initial updates with scm
Signed-off-by: NilashishC <[email protected]>
1 parent 653999c commit a42ca2f

34 files changed

+909
-2581
lines changed

exercises/ansible_network/1-explore/README.md

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -162,38 +162,23 @@ $ cat ~/lab_inventory/hosts
162162
```
163163

164164
```bash
165-
[all:vars]
166-
ansible_ssh_private_key_file=~/.ssh/aws-private.pem
165+
[routers:vars]
166+
ansible_user=ec2-user
167167

168168
[routers:children]
169169
cisco
170-
juniper
171-
arista
172170

173171
[cisco]
174-
rtr1 ansible_host=18.222.121.247 private_ip=172.16.129.86
175-
[arista]
176-
rtr2 ansible_host=18.188.194.126 private_ip=172.17.158.197
177-
rtr4 ansible_host=18.221.5.35 private_ip=172.17.8.111
178-
[juniper]
179-
rtr3 ansible_host=3.14.132.20 private_ip=172.16.73.175
172+
rtr1 ansible_host=3.135.190.6 private_ip=172.16.91.181
173+
rtr2 ansible_host=18.119.134.227 private_ip=172.18.101.101
174+
rtr4 ansible_host=18.118.33.17 private_ip=172.18.166.3
175+
rtr3 ansible_host=52.15.61.132 private_ip=172.16.145.2
180176

181177
[cisco:vars]
182-
ansible_user=ec2-user
183178
ansible_network_os=ios
184179
ansible_connection=network_cli
185180

186-
[juniper:vars]
187-
ansible_user=ec2-user
188-
ansible_network_os=junos
189-
ansible_connection=netconf
190181

191-
[arista:vars]
192-
ansible_user=ec2-user
193-
ansible_network_os=eos
194-
ansible_connection=network_cli
195-
ansible_become=true
196-
ansible_become_method=enable
197182

198183
[dc1]
199184
rtr1
@@ -204,7 +189,14 @@ rtr2
204189
rtr4
205190

206191
[control]
207-
ansible ansible_host=13.58.149.157 ansible_user=student private_ip=172.16.240.184
192+
ansible-1 ansible_host=3.137.159.171 ansible_user=ec2-user private_ip=172.16.128.14
193+
194+
[network:children]
195+
routers
196+
[network:vars]
197+
restore_inventory="Workshop Inventory"
198+
restore_credential="Workshop Credential"
199+
restore_project="Workshop Project"
208200
```
209201

210202
### Step 6 - Understanding inventory
@@ -294,6 +286,6 @@ You now understand:
294286

295287

296288
---
297-
[Next Exercise](../2-first-playbook/README.md)
289+
[Next Exercise](../2-resource-module-cisco/README.md)
298290

299291
[Click Here to return to the Ansible Network Automation Workshop](../README.md)

exercises/ansible_network/2-first-playbook/README.es.md

Lines changed: 0 additions & 245 deletions
This file was deleted.

0 commit comments

Comments
 (0)