How 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 dictionary: SWITCH1[‘IP’] SWITCH1.IP But when using the second option, there may be problems if the […]

Read More

What is ansible modules?

In this post I want to explain you about ansible modules. Along with the installation of ansible, a large number of modules (module library) are also created. The module library has about 200 modules available. Module it’s like extension for ansible. A module is usually responsible for its specific and small task. Modules can be […]

Read More

Ad Hoc commands in ansible

With ad-hoc command you can run some Ansible action from the command line. An example ad-hoc command: This option basically is used in cases where you need to check something, for example, the operation of the module. Or just perform some one-time action that does not need to be saved. Anyway, this is a simple […]

Read More

Update Netbox IPAM

We check for compliance with the following commands: Download and unpack the latest version: Next, the local_requirements.txt, configuration.py and ldap_config.py files to the folder with the new version: Copy the downloaded media files (if any): Copy the custom scripts and reports that have been created: If you followed the original installation guide to set up […]

Read More

How to install Netbox IPAM

Netbox is a free and powerful IP Address Management (IPAM) and Data Center Infrastructure Management (DCIM) tool. It is used to store information about your networks, virtual machines, inventory, and many other devices. It was originally developed by the DigitalOcean engineering team. This tool is written on the Django Python platform and uses a PostgreSQL […]

Read More