f5networks.f5_modules.bigiq_license – Return random license from list
From Get docs
Ansible/docs/2.10/collections/f5networks/f5 modules/bigiq license lookup
f5networks.f5_modules.bigiq_license – Return random license from list
Note
This plugin is part of the f5networks.f5_modules collection (version 1.6.0).
To install it use: ansible-galaxy collection install f5networks.f5_modules
.
To use it in a playbook, specify: f5networks.f5_modules.bigiq_license
.
New in version 1.0: of f5networks.f5_modules
Synopsis
- Select a random license key from a pool of biqiq available licenses
- Requires specifying BIGIQ license pool name and connection parameters
Examples
- name: Get a regkey license from a license pool
bigiq_regkey_license:
key: "{{ lookup('bigiq_license', pool_name='foo_pool', username=baz, password=bar, host=192.168.1.1, port=10443}}"
state: present
pool: foo_pool
- name: Get a regkey license from a license pool, use default credentials and port, disable SSL verification
bigiq_regkey_license:
key: "{{ lookup('bigiq_license', pool_name='foo_pool', host=192.168.1.1, validate_certs=false}}"
state: present
pool: foo_pool
Return Values
Common return values are documented here, the following are the fields unique to this lookup:
Key | Returned | Description |
---|---|---|
_raw string |
success |
random item
|
Authors
- Wojciech Wypior <[email protected]>
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/f5networks/f5_modules/bigiq_license_lookup.html