Using this role, you will be able to use the latest version, and version specific F5 Networks Ansible Modules.
This is a stop-gap solution until Ansible Galaxy's "Collection" feature is stable and globally available.
- python >= 2.7
Due to significant changes in some of the plugins, to ensure all of the elements function correctly the Ansible requirement has been changed to 2.8 or higher. Requirements are listed in the metadata file.
This role is released in two forms.
The form that you choose should be based on your tolerance for unstable code. F5 makes no guarantees that the bi-weekly release is more stable. However, it aligns with some individual's tolerance for product updates.
For instance, updating daily can be a burden to the maintainer of the playbooks and can introduce problems at a time that is untenable for them. In this case, a bi-weekly update is more logical.
On the other hand, some people prefer to live on the edge of technology, and for those people, a daily build is acceptable.
To install the bi-weekly build of the F5 Networks Ansible Role, please issue the command on the machine you will run Ansible from.
ansible-galaxy install -f f5devcentral.f5ansible
To install the daily build of the F5 Networks Ansible Role, please issue the command on the machine you will run Ansible from.
ansible-galaxy install -f f5devcentral.f5ansible,master
For more information please visit http://docs.ansible.com/ansible/galaxy.html
Available variables are listed below, along with default values (see
Enables the installation and configuration of debugging functionality. This is useful when working with the F5 Networks Ansible developers to debug problems.
The following example is generic, applies to any module.
--- - hosts: localhost connection: local roles: - role: f5devcentral.f5ansible tasks: - name: Some task bigip_<module_name>: provider: server: 126.96.36.199 user: admin password: secret ......
This example shows usage of the bigip_virtual_server module included in this role.
--- - hosts: localhost connection: local roles: - role: f5devcentral.f5ansible tasks: - name: Create virtual server bigip_virtual_server: name: virt1 destination: 188.8.131.52 port: 9000 description: My description snat: Automap pool: pool1 provider: user: admin server: 184.108.40.206 password: secret validate_certs: no register: result
There are many more examples located at in the
EXAMPLES within each module.
This role is updated in Ansible Galaxy on a bi-weekly basis. If you want to install
an interim release of this role, use the following
ansible-galaxy install f5devcentral.f5ansible,master
Note the inclusion of the "comma" and "master" at the end of the command.
F5 Networks F5 Networks