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
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 Build Status GitHub Build Status GitLab

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: dependencies

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

Apache-2.0.

Author Information

robertdebock

Please consider sponsoring me.

Informazioni sul progetto

Configure an F5 LTMs nodes, pool, pool members and virtual servers.

Installa
ansible-galaxy install robertdebock.f5_ltm
Licenza
apache-2.0
Download
245
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.