Forum Discussion
Aditya_Mehra
Aug 01, 2019Cirrus
Ansible playbook error
Hi, Need help in Ansible playbook. Trying to run a basic playbook to fetch facts and command, but it keeps popping error. Can please anyone help. Playbook 1 - name: Collect
bigip_device_f...
Mael
Aug 01, 2019Nimbostratus
Hello Aditya,
It seems that your playbook structure is incorrect. You're missing the host and task information.
You should try the following:
- hosts: localhost
connection: local
gather_facts: no
tasks:
- name: Collect
bigip_device_facts:
gather_subset:
- interfaces
- vlans
provider:
server: x.x.x.x
user: <username>
password: <password>
Be careful to respect the indentation.
Best,
Mael
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