Ads 468x60px

Featured Posts

24 February 2020

FortiGate Automation with Ansible



I recorded a video about Automating F5 configuration with Ansible last week. I want to know how to do the same with FortiGate firewalls. Therefore, I’ve been reading and testing with a FortiGate firewall and Ansible since then. I think it’s really interesting the automation and orchestration when there are lots of devices in the company. We can change the configuration in all devices quickly. For instance, there are Ansible Modules for FortiGate, FortiManager and FortiMail devices where we can configure security profiles, addresses, policies, etc easily.

Fortinet's Ansible Modules
 
I’ve recorded a new video about Automating FortiGate configuration with Ansible. We have to take into account two important things before executing the playbook. Firstly, we have to configure and execute the playbook with Python3 instead of Python2. Therefore, we have to install the fortiosapi for python3 with pip3. Secondly, we have to declare the ANSIBLE_LIBRARY with the 40ansible library to be able to use the fortiosconfig module. Finally, we should modify parameters accordingly, such as interfaces and password. Once the YAML file is OK, we are ready to execute the playbook.

 
Regards my friends! Are you ready to automate processes?

17 February 2020

Automating F5 configuration with Ansible



When we have lots of devices such as lots of firewalls, lots of load balancers or lots of switches, it’s really interesting and necessary the process automation. Automation and orchestration are increasingly used in large deployments and cloud infrastructures where there are lots of network devices around the world. For instance, we can automate initial configurations on BIG-IP such as DNS, NTP, etc. We can also automate deployments of HTTP and HTTPS applications or we can even manage Virtual Servers, Pools or Monitors.

Automating with Ansible

Ansible is one of the most known automation and orchestration tool. It’s an open-source software provisioning, configuration management, and application-deployment tool. We can install Ansible on many Unix-like systems such as Ubuntu and Debian. It’s really easy the process installation. It only requires Python. In addition, there are modules to automate lots of devices. For example, there are modules for FortiOS devices, F5 devices, Radware devices, etc.

Ansible-doc
 
I’ve recorded a video where I’ve used the playbook from F5 Networks located at their git repository. Firstly, I’ve created the necessary directories and files. Secondly, I’ve set the connection variables and I’ve added a pool, two pool members and a virtual server to the playbook YAML file. Finally, I’ve run the playbook and we can see the Virtual Server, pool and associate pool members on the F5 GUI. You will watch the configuration and execution is easy although it’s important to take into account the indentation and spaces.

 
Regards my friends! Are you ready to automate processes?
Related Posts Plugin for WordPress, Blogger...

Entradas populares