robertdebock.f5_ltm
Ansible 角色 f5_ltm
此角色于 2023 年 12 月已被归档。
配置 F5 LTM 节点、池、池成员和虚拟服务器。
| GitHub | GitLab | 下载 | 版本 |
|---|---|---|---|
示例剧本
该示例来自 molecule/default/converge.yml,并在每次推送、拉取请求和发布时进行测试。
---
- name: Converge
hosts: all
become: yes
gather_facts: yes
roles:
- role: robertdebock.f5_ltm
需要准备机器。在 CI 中,这通过 molecule/default/prepare.yml 完成:
---
- name: Prepare
hosts: all
become: yes
gather_facts: no
roles:
- role: robertdebock.bootstrap
有关如何使用这些角色的 完整说明和示例。
角色变量
变量的默认值设置在 defaults/main.yml:
---
# f5_ltm 的默认文件
# F5 LTM 的连接详情。
# f5_ltm_provider:
# server: "192.168.1.254"
# user: root
# password: password
# server_port: 8443
# validate_certs: no
# 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"
# 节点列表。
# f5_ltm_nodes:
# - name: node1.example.com
# host: "192.168.1.1"
# - name: node2.example.com
# host: "192.168.1.2"
# 池的列表。
# f5_ltm_pools:
# - name: pool1.example.com
# lb_method: http_pool
# monitors: /Common/http
# monitor_type: and_list
# 池及其成员的列表。
# f5_ltm_pool_members:
# - name: pool1.example.com
# members:
# - name: node1.example.com
# port: 80
# - name: node2.example.com
# port: 80
# 虚拟服务器列表。
# 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.txt 中的 pip 包。
所用角色的状态
以下角色用于准备系统。您可以用其他方法准备您的系统。
| 需求 | GitHub | GitLab |
|---|---|---|
| robertdebock.bootstrap |
上下文
该角色是许多兼容角色的一部分。有关更多信息,请查看 这些角色的文档。
以下是相关角色的概述:

兼容性
此角色在以下 容器镜像 上进行了测试:
| 容器 | 标签 |
|---|---|
| Alpine | 所有 |
| Amazon | 候选 |
| EL | 8, 9 |
| Debian | 所有 |
| Fedora | 所有 |
| opensuse | 所有 |
| Ubuntu | 所有 |
所需的最低 Ansible 版本为 2.12,已对以下版本进行测试:
- 先前版本。
- 当前版本。
- 开发版本。
如果您发现问题,请在 GitHub 上报告。
许可证
作者信息
请考虑 赞助我。
安装
ansible-galaxy install robertdebock.f5_ltm许可证
apache-2.0
下载
255
拥有者
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.
