Forum Discussion
TNSOPS Altostratus
Altostratus
Jan 18, 2023Getting error when trying to run Ansible (2.9) playbook using bigip_device_info module
 Playbook  (venv) $ cat playtest.yml  ---    - name: MY TEST PLAYBOOK  hosts: F5  connection: local  gather_facts: false  collections:  - f5networks.f5_modules  tasks:  - name: Collect BIG IP FACTS  b...
- Jan 30, 2023i got this working by removing delegate_to: localhost under the task and only keep connection: local at the global level. 
Nikoolayy1 MVP
MVP
Jan 25, 2023I played around as I got interested in using ansible f5 facts and it worked for me with:
- name: Collect BIG-IP facts
bigip_device_info:
provider: "{{ provider }}"
gather_subset:
- system-info
register: device_result
- name: Display the results
debug:
var: device_result.ansible_facts.ansible_net_system_info.product_version
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects