Debian Codegraph @

ansible_collections/f5networks/f5_modules/README.md

raw symbols SCIP
1 # F5 BIG-IP Imperative Collection for Ansible
2
3 ## Description
4
5 This collection provides imperative Ansible modules and plugins for managing F5 BIG-IP and BIG-IQ devices. It enables automation of configuration, deployment, and management tasks for F5 devices, making it easier for network and automation engineers to integrate F5 solutions into their infrastructure-as-code workflows. The collection is designed for users who need to automate F5 device management, streamline operations, and ensure consistency across environments.
6
7 ## Requirements
8
9 - Ansible >= 2.16
10 - Python >= 3.9
11 - packaging (Python library)
12
13
14 ## Installation
15
16 Before using this collection, install it with the Ansible Galaxy command-line tool:
17
18 ```
19 ansible-galaxy collection install f5networks.f5_modules
20 ```
21
22 To specify the installation location, use the `-p` option. For example:
23
24 ```
25 ansible-galaxy collection install f5networks.f5_modules -p ./collections
26 ```
27
28 If you specify a folder, make sure to update your `ansible.cfg` so Ansible will check this folder as well. For example, add:
29
30 ```
31 collections_paths = ./collections
32 ```
33 to your `ansible.cfg`.
34
35 You can also include it in a `requirements.yml` file and install with:
36
37 ```yaml
38 collections:
39 - name: f5networks.f5_modules
40 ```
41
42 ```
43 ansible-galaxy collection install -r requirements.yml
44 ```
45
46 To upgrade to the latest version:
47
48 ```
49 ansible-galaxy collection install f5networks.f5_modules --upgrade
50 ```
51
52 To install a specific version (e.g., 1.0.0):
53
54 ```
55 ansible-galaxy collection install f5networks.f5_modules:==1.0.0
56 ```
57
58 See [using Ansible collections](https://docs.ansible.com/ansible/devel/user_guide/collections_using.html) for more details.
59
60 ## Example Usage
61
62 To use a module from this collection, reference the full namespace, collection, and module name:
63
64 ```yaml
65 ---
66 - name: Using F5 BIG-IP Collection
67 hosts: f5
68 connection: local
69 tasks:
70 - f5networks.f5_modules.bigip_pool:
71 name: my-pool
72 ...
73 ```
74
75 ## Running the Collection in an Execution Environment (EE)
76
77 You can run this collection inside an Ansible Execution Environment (EE) container. This approach ensures all required package dependencies and minimum supported Python versions are installed in an isolated container, minimizing environment-related issues during runtime.
78
79 To use the collection in an EE, add it to your `requirements.yml` file. For example:
80
81 ```yaml
82 ---
83 collections:
84 - name: ansible.netcommon
85 version: ">=2.0.0"
86 - name: f5networks.f5_modules
87 ```
88
89 When building your EE container, include this requirements file. For more information on building and using EEs, see the [execenv]
90
91 <!-- Ansible Execution Environments documentation](https://docs.ansible.com/automation-controller/latest/html/userguide/execution_environments.html).
92
93 > **Tip:** If you use a custom collection path (with `-p`), ensure your EE definition includes the correct path in the `ANSIBLE_COLLECTIONS_PATHS` environment variable or in your `ansible.cfg`. -->
94
95 For F5-specific EE usage and advanced scenarios, refer to the [F5 execenv documentation](https://clouddocs.f5.com/products/orchestration/ansible/devel/usage/exec-env.html).
96
97 ## Testing
98
99 This collection has been tested on:
100 - F5 BIG-IP and BIG-IQ virtual editions
101 - Supported Ansible versions (>=2.16)
102 - Python 3.9+
103
104 Testing includes unit, integration, and system tests. Some modules may require access to a live F5 device or a suitable test environment. Known exceptions and workarounds are documented in the module documentation.
105
106 ## Support
107
108 As Red Hat Ansible Certified Content, this collection is entitled to support through the Ansible Automation Platform (AAP) using the **Create issue** button on the top right corner.
109
110 If a support case cannot be opened with Red Hat and the collection has been obtained either from Galaxy or GitHub, you can report issues on the [GitHub issue tracker](https://github.com/F5Networks/f5-ansible/issues).
111
112 Please refer to the [support_policy] for details
113
114 ## Release Notes
115
116 See the [Changelog](https://clouddocs.f5.com/products/orchestration/ansible/devel/f5_modules/CHANGELOG.html) for release notes
117
118 ## License Information
119
120 Published under [GPL V3](https://www.gnu.org/licenses/gpl-3.0.txt). See the LICENSE file included in the collection for details.
121
122 ## Contributor License Agreement
123 Individuals or business entities who contribute to this project must complete and submit the [F5 Contributor License Agreement](https://clouddocs.f5.com/products/orchestration/ansible/devel/usage/contributor.html) to [email protected] prior to their code submission being included in this project.
124
125
126 ## Copyright
127
128 Copyright 2025 F5 Networks Inc.
129
130 [F5 Ansible Solutions]: https://clouddocs.f5.com/products/orchestration/ansible/devel/
131 [execenv]: https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/creating_and_using_execution_environments/index
132 [f5execenv]: https://clouddocs.f5.com/products/orchestration/ansible/devel/usage/exec-env.html
133 [F5 Networks]: https://www.f5.com
134 [support_policy]: https://f5.com/support/support-policies