New in version 2.4.
parameter | required | default | choices | comments |
---|---|---|---|---|
level | no | nominal |
| Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to dedicated requires setting all others to none . Setting the level of a module to none means that the module is not run. |
module | yes |
| The module to provision in BIG-IP. | |
password | yes | The password for the user account used to connect to the BIG-IP. This option can be omitted if the environment variable F5_PASSWORD is set. | ||
server | yes | The BIG-IP host. This option can be omitted if the environment variable F5_SERVER is set. | ||
server_port (added in 2.2)
| no | 443 | The BIG-IP server port. This option can be omitted if the environment variable F5_SERVER_PORT is set. | |
state | no | present |
| The state of the provisioned module on the system. When present , guarantees that the specified module is provisioned at the requested level provided that there are sufficient resources on the device (such as physical RAM) to support the provisioned module. When absent , de-provision the module. |
user | yes | The username to connect to the BIG-IP with. This user must have administrative privileges on the device. This option can be omitted if the environment variable F5_USER is set. | ||
validate_certs (added in 2.0)
| no | True |
| If no , SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. This option can be omitted if the environment variable F5_VALIDATE_CERTS is set. |
- name: Provision PEM at "nominal" level bigip_provision: server: "lb.mydomain.com" module: "pem" level: "nominal" password: "secret" user: "admin" validate_certs: "no" delegate_to: localhost - name: Provision a dedicated SWG. This will unprovision every other module bigip_provision: server: "lb.mydomain.com" module: "swg" password: "secret" level: "dedicated" user: "admin" validate_certs: "no" delegate_to: localhost
Common return values are documented here Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
level | The new provisioning level of the module. | changed | string | minimum |
Note
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/bigip_provision_module.html