Ansible Network Automation tutorial Part 1 | for Network Engineers | Introduction , Cisco Examples

preview_player
ะŸะพะบะฐะทะฐั‚ัŒ ะพะฟะธัะฐะฝะธะต
๐—™๐—ผ๐—ฟ ๐—–๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜๐—ฒ ๐—ฃ๐˜†๐˜๐—ต๐—ผ๐—ป ๐—™๐—ผ๐—ฟ ๐—ก๐—ฒ๐˜๐˜„๐—ผ๐—ฟ๐—ธ ๐—˜๐—ป๐—ด๐—ถ๐—ป๐—ฒ๐—ฒ๐—ฟ๐˜€ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ:
๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—ณ๐—ผ๐—ฟ ๐—ฏ๐—ฒ๐—น๐—ผ๐˜„ ๐—จ๐—ฑ๐—ฒ๐—บ๐˜† ๐—–๐—น๐—ฎ๐˜€๐˜€: ๐Ÿ๐ŸŽ๐Ÿ๐Ÿ ๐•๐ž๐ซ๐ฌ๐ข๐จ๐ง
๐‘ซ๐’Š๐’”๐’„๐’๐’–๐’๐’•๐’†๐’… ๐‘น๐’†๐’‡๐’†๐’“๐’“๐’‚๐’ ๐‘ณ๐’Š๐’๐’Œ:
#AnsibleCiscoExample
#AnsibleNetworkEngineer
โœ”๏ธ๐—ฃ๐—น๐—ฎ๐˜†๐—น๐—ถ๐˜€๐˜: ๐—™๐˜‚๐—น๐—น ๐—ฉ๐—ถ๐—ฑ๐—ฒ๐—ผ๐˜€: ๐—”๐—ป๐˜€๐—ถ๐—ฏ๐—น๐—ฒ ๐—ก๐—ฒ๐˜๐˜„๐—ผ๐—ฟ๐—ธ ๐—”๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ฆ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐˜€:

โญ๏ธ๐—ฃ๐—น๐—ฎ๐˜†๐—น๐—ถ๐˜€๐˜:๐—ฃ๐˜†๐˜๐—ต๐—ผ๐—ป ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ก๐—ฒ๐˜๐˜„๐—ผ๐—ฟ๐—ธ ๐—˜๐—ป๐—ด๐—ถ๐—ป๐—ฒ๐—ฒ๐—ฟ๐˜€

This video explains basic concepts of Ansible for Network Automation.
How to initiate connection to Cisco device and get the facts.

Ansible is an automation tool. Using this you will be able to manage the configurations ,states or provisioning of the devices.
Ansible modules support a wide range of vendors.
Using ansible you would be able to manage different types of environments such as DevOps environment, Developer and Network Engineers environment
Typically it communicates to devices using SSH or HTTPS
In case of Networkdevices it uses:
SSH, Netconf protocol, APIโ€™s using HTTP or HTTPS

It supports Cisco, Arista, Juniper etc

In ansible there are concepts such as :
Inventory: It contains list of managed devices.
Tasks: are Actions what ansible performs .
Playbook: you can create, your own list of tasks that is called playbook. You can run multiple tasks from SIngle playbook.
Modules: Depends on type of task there are modules, the primary module what we are going to look is Network module
apt -get install ansible
Ansible --version
Config file
Host file:

How to configure a device:

ansible all -i 10.10.10.10, -c network_cli -u admin -k -m ios_facts -e ansible_network_os=ios
ansible all -i D1,D1, -c network_cli -u admin -k -m ios_facts -e ansible_network_os=ios

Hostkey checking
ะ ะตะบะพะผะตะฝะดะฐั†ะธะธ ะฟะพ ั‚ะตะผะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ
ะะฒั‚ะพั€

๐—ง๐—ผ ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€ ๐˜๐—ต๐—ฒ ๐—™๐˜‚๐—น๐—น ๐—–๐—ผ๐—ป๐˜๐—ฒ๐—ป๐˜ ๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—ถ๐—ป ๐—ผ๐˜‚๐—ฟ ๐—ถ๐—ป-๐—ฑ๐—ฒ๐—ฝ๐˜๐—ต ๐—จ๐—ฑ๐—ฒ๐—บ๐˜† ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ (Mastering Ansible Automation):

NetworkEvolution
ะะฒั‚ะพั€

Wow, I just gained new knowledge about Ansible in this video, thanks for the free and great content, you are amazing!

nixoncabezas
ะะฒั‚ะพั€

my playbook is running for cisco router but CHANGES not done- failed : please help me

aegisi-netpvtltd
ะะฒั‚ะพั€

Is it possible for you to get one to one training on the Network automation?

rajeshchamanthula
ะะฒั‚ะพั€

How can i add custom SSH port to this string instead of default port? ansible all -i 10.10.10.10, -c network_cli -u admin -k -m ios_facts -e ansible_network_os=ios. I know how to do this with playbook but do not know how using the ad-hoc format.

emmanueloluwayemisi
ะะฒั‚ะพั€

i am faced with this error "msg": "paramiko is not installed: No module named 'nacl

emmanueloluwayemisi
ะะฒั‚ะพั€

can you tell me where to get those cisco ios VM images?

Shadow-ronc
ะะฒั‚ะพั€

Ok great. You have good content so I'm still watching even though the terminal colors aren't great.

steveeyler
ะะฒั‚ะพั€

Need to know security devices ex : firewall, IPs virtualization using algorithm(python )

wishwagimhaniwalakadawatht
ะะฒั‚ะพั€

where is part 2 ? I can't find it only part I see is 1 and 3.

ushah
ะะฒั‚ะพั€

Thanks for these step by step videos, any videos on e-lab setup and access through Linux machine?

KiranKumar-pnul
ะะฒั‚ะพั€

I named my router R1, but after adding the IP - Hostname mapping in the hosts file I get "ping: R1: Temporary failure in name resolution".

CrudChronicles
ะะฒั‚ะพั€

i hope you will have more susbcribers. :)

stargategoku
ะะฒั‚ะพั€

Hello,
Hope you are doing well
Can I get you no. ?
Its regarding training.

SANDEEPKUMAR-tvyw
ะะฒั‚ะพั€

I am getting a module failure error when running this command ansible all -i <IP-address>, -c network_cli -u admin -k -m ios_facts -e ansible_network_os=ios with my Cisco device IP address.

skawashkar
ะะฒั‚ะพั€

Blue font on a black background isn't a good choice for viewers.

steveeyler
ะะฒั‚ะพั€

The blue screen SUCKS !!!! i cant tell what you are doing.... Good video just the blue screen :-(

joser
ะะฒั‚ะพั€

ansible all -i 10.99.8.98, -c network_cli -u admin -k -m ios_facts -e ansible_network_os=ios

error:
10.99.8.98 | FAILED! => {
"msg": ""
please help

rajdeeprathod