filmov
tv
Ansible Network Automation tutorial Part 1 | for Network Engineers | Introduction , Cisco Examples
ะะพะบะฐะทะฐัั ะพะฟะธัะฐะฝะธะต
๐๐ผ๐ฟ ๐๐ผ๐บ๐ฝ๐น๐ฒ๐๐ฒ ๐ฃ๐๐๐ต๐ผ๐ป ๐๐ผ๐ฟ ๐ก๐ฒ๐๐๐ผ๐ฟ๐ธ ๐๐ป๐ด๐ถ๐ป๐ฒ๐ฒ๐ฟ๐ ๐๐ผ๐๐ฟ๐๐ฒ:
๐๐ป๐ฟ๐ผ๐น๐น ๐ณ๐ผ๐ฟ ๐ฏ๐ฒ๐น๐ผ๐ ๐จ๐ฑ๐ฒ๐บ๐ ๐๐น๐ฎ๐๐: ๐๐๐๐ ๐๐๐ซ๐ฌ๐ข๐จ๐ง
๐ซ๐๐๐๐๐๐๐๐๐ ๐น๐๐๐๐๐๐๐ ๐ณ๐๐๐:
#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
๐๐ป๐ฟ๐ผ๐น๐น ๐ณ๐ผ๐ฟ ๐ฏ๐ฒ๐น๐ผ๐ ๐จ๐ฑ๐ฒ๐บ๐ ๐๐น๐ฎ๐๐: ๐๐๐๐ ๐๐๐ซ๐ฌ๐ข๐จ๐ง
๐ซ๐๐๐๐๐๐๐๐๐ ๐น๐๐๐๐๐๐๐ ๐ณ๐๐๐:
#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
ะะพะผะผะตะฝัะฐัะธะธ