erjac77.f5

F5系统的Ansible角色

使用Python制作 代码风格: black Ansible质量评分 Ansible角色 许可证

这是一个Ansible模块,用于在F5系统上执行特定的操作和配置任务。支持超过190个组件(数量还在增加)。

支持的F5系统:

  • BIG-IP
  • BIG-IQ
  • iWorkflow

需求

  • Ansible >= 2.8.0(ansible)
  • F5 Python SDK >= 3.0.21(f5-sdk)
  • Deep Difference >= 4.2.0(deepdiff)
  • Requests: HTTP for Humans >= 2.22.0(requests)

安装

1. 安装依赖

pip3 install "ansible>=2.8.0"
pip3 install "deepdiff>=4.2.0"
pip3 install "f5-sdk>=3.0.21"
pip3 install "requests>=2.22.0"

2. 从Ansible Galaxy安装F5角色

ansible-galaxy install erjac77.f5

示例剧本

- hosts: bigips
  connection: local
  roles:
    - erjac77.f5

  tasks:
    - name: 创建LTM池
      f5bigip_ltm_pool:
        provider:
          server: "{{ inventory_hostname }}"
          server_port: 443
          user: admin
          password: admin
          validate_certs: false
        name: my_pool
        partition: Common
        description: 我的池
        load_balancing_mode: least-connections-members
        state: present

你可以在Wiki找到更多示例。

许可证

Apache 2.0

作者信息

贡献者

关于项目

Ansible roles to perform specific operational and configuration tasks on F5 BIG-IP systems.

安装
ansible-galaxy install erjac77.f5
许可证
apache-2.0
下载
204
拥有者
Automate everything