The ios_config module – allows you to configure devices running IOS, as well as generate configuration templates or send commands based on a template. Module parameters: after – what to do after commands before – what actions to perform before
Continue readingWorking with module ios_facts in ansible
IOS_FACTS module – collects information from devices running iOS. Information is taken from the following commands: dir show version show memory statistics show interfaces show ipv6 interface show lldp show lldp neighbors detail show running-config In the module, you can
Continue readingWorking with module ios_command in ansible
Hello everybody) In this post I will show you how to work with ansible module ios_command. What is ios_command module do? It sends a show command to an IOS device and returns the result of the command. The ios_command module
Continue readingAnsible modules for working with network devices
In this post, we will look at CLI modules that work with network devices. Globally, modules for working with network equipment can be divided into two parts: modules for API-enabled equipment modules for equipment that only works via CLI For
Continue readingWorking with module execution results in Ansible.
In this post discusses several ways that you can look at the output received from devices. We will be using the raw module, but the same principles apply to other modules as well. One way to display the output of
Continue readingHow to use varianbles in ansible?
Vars A variable could be, for example: Variable names Ansible has certain restrictions on the format of variable names: In addition, you can create dictionaries with variables (in YAML format): SWITCH1: There are two ways to access variables in a
Continue reading