robertdebock.f5_ltm
Ansible Role f5_ltm
THIS ROLE HAS BEEN ARCHIVED AS OF DEC 2023.
This role is used to set up F5 LTM nodes, pools, pool members, and virtual servers.
GitHub | GitLab | Downloads | Version |
---|---|---|---|
Example Playbook
Here’s an example taken from molecule/default/converge.yml
that is tested with each update.
---
- name: Converge
hosts: all
become: yes
gather_facts: yes
roles:
- role: robertdebock.f5_ltm
Before running this, make sure your machine is set up. In CI, this can be done using molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: yes
gather_facts: no
roles:
- role: robertdebock.bootstrap
Also, check out a full explanation and example on how to use this role.
Role Variables
Default variable values are found in defaults/main.yml
:
---
# Defaults for f5_ltm
# F5 LTM connection details.
# f5_ltm_provider:
# server: "192.168.1.254"
# user: root
# password: password
# server_port: 8443
# validate_certs: no
# General F5 LTM settings.
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"
# Nodes list.
# f5_ltm_nodes:
# - name: node1.example.com
# host: "192.168.1.1"
# - name: node2.example.com
# host: "192.168.1.2"
# Pools list.
# f5_ltm_pools:
# - name: pool1.example.com
# lb_method: http_pool
# monitors: /Common/http
# monitor_type: and_list
# Pools and members list.
# f5_ltm_pool_members:
# - name: pool1.example.com
# members:
# - name: node1.example.com
# port: 80
# - name: node2.example.com
# port: 80
# Virtual servers list.
# 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
You need to install pip packages listed in requirements.txt.
State of Used Roles
This role depends on other roles for system preparation. You can prepare your system in a different way.
Requirement | GitHub | GitLab |
---|---|---|
robertdebock.bootstrap |
Context
This role is part of many compatible roles. You can find more information in the documentation of these roles.
Here’s a view of related roles:
Compatibility
This role has been tested with various container images:
Container | Tags |
---|---|
Alpine | all |
Amazon | Candidate |
EL | 8, 9 |
Debian | all |
Fedora | all |
opensuse | all |
Ubuntu | all |
The minimum Ansible version required is 2.12. Testing has been performed on:
- The previous version.
- The current version.
- The development version.
If you encounter any issues, please report them on GitHub.
License
Author Information
Please consider sponsoring me.
Configure an F5 LTMs nodes, pool, pool members and virtual servers.
ansible-galaxy install robertdebock.f5_ltm