f5_ltm
Ansible role f5_ltm
THIS ROLE HAS BEEN ARCHIVED AS OF DEC 2023.
Configure an F5 LTMs nodes, pool, pool members and virtual servers.
GitHub | GitLab | Downloads | Version |
---|---|---|---|
Example Playbook
This example is taken from molecule/default/converge.yml
and is tested on each push, pull request and release.
---
- name: Converge
hosts: all
become: yes
gather_facts: yes
roles:
- role: robertdebock.f5_ltm
The machine needs to be prepared. In CI this is done using molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: yes
gather_facts: no
roles:
- role: robertdebock.bootstrap
Also see a full explanation and example on how to use these roles.
Role Variables
The default values for the variables are set in defaults/main.yml
:
---
# defaults file for f5_ltm
# Connection details for the F5 LTM.
# f5_ltm_provider:
# server: "192.168.1.254"
# user: root
# password: password
# server_port: 8443
# validate_certs: no
# General settings for the F5 LTM.
f5_ltm_partition: Common
f5_ltm_hostname: f5.example.com
f5_ltm_timezone: "Europe/Amsterdam"
f5_ltm_ntp_servers:
- "1.1.1.1"
- "8.8.8.8"
# The list of nodes.
# f5_ltm_nodes:
# - name: node1.example.com
# host: "192.168.1.1"
# - name: node2.example.com
# host: "192.168.1.2"
# The list of pools.
# f5_ltm_pools:
# - name: pool1.example.com
# lb_method: http_pool
# monitors: /Common/http
# monitor_type: and_list
# The list of pools and their members.
# f5_ltm_pool_members:
# - name: pool1.example.com
# members:
# - name: node1.example.com
# port: 80
# - name: node2.example.com
# port: 80
# The list of virtual_servers.
# f5_ltm_virtual_servers:
# - name: virtual_server1.example.com
# pool: pool1.example.com
# destination: "192.168.1.254"
# port: 443
# enable_vlans: all
# all_profiles:
# - http
# - clientssl
# - oneconnect
# snat: Automap
Requirements
- pip packages listed in requirements.txt.
State of used roles
The following roles are used to prepare a system. You can prepare your system in another way.
Requirement | GitHub | GitLab |
---|---|---|
robertdebock.bootstrap |
Context
This role is a part of many compatible roles. Have a look at the documentation of these roles for further information.
Here is an overview of related roles:
Compatibility
This role has been tested on these container images:
container | tags |
---|---|
Alpine | all |
Amazon | Candidate |
EL | 8, 9 |
Debian | all |
Fedora | all |
opensuse | all |
Ubuntu | all |
The minimum version of Ansible required is 2.12, tests have been done to:
- The previous version.
- The current version.
- The development version.
If you find issues, please register them in GitHub.
License
Author Information
Please consider sponsoring me.
ansible-galaxy install robertdebock/ansible-role-f5_ltm