focrensh.f5_role_facts
f5-role-facts
This is a simple example of a Role that retrieves Ansible facts from a BIG-IP system and provides system information.
Role Variables
The Role requires a provider variable to be provided. The default settings are shown below.
provider:
server: "{{private_ip}}"
user: "{{ansible_user}}"
password: "{{ansible_ssh_pass}}"
server_port: 8443
validate_certs: no
Example Playbook
---
- name: Get F5 Facts
hosts: f5
connection: local
gather_facts: no
tasks:
- include_role:
name: focrensh.f5-role-facts
Variable | Required | Default | Example | Info |
---|---|---|---|---|
provider | yes | - | provider: "{{ provider }}" | The provider dictionary contains connection details to the BIG-IP, similar to how F5 Modules function. |
atc_method | no | GET | atc_method: GET | The accepted values for atc_method include [POST, GET] for all services and [DELETE] only for AS3. The atc_deploy role does not currently support the AS3 PATCH method. |
Installa
ansible-galaxy install focrensh.f5_role_facts
Licenza
Unknown
Download
118
Proprietario