Forum Discussion
TNSOPS
Jan 18, 2023Altostratus
Getting 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, 2023
i got this working by removing delegate_to: localhost under the task and only keep connection: local at the global level.
Nikoolayy1
Jan 18, 2023MVP
After checking https://docs.ansible.com/ansible/latest/collections/f5networks/f5_modules/bigip_device_info_module.html and https://clouddocs.f5.com/products/orchestration/ansible/devel/modules/bigiq_device_info_module.html maybe remove the "register" or try :
register: device_facts
ignore_errors: true
Also system-info may need ""
gather_subset:
- "system-info"
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