Forum Discussion
Ansible bigip_snmp
I've recently started using Ansible. The below playbook is giving me some errors. I have a "Set DNS" playbook working as well as a "Set NTP" playbook.
Id like to change the Contact information to start on a single F5. Then roll it out to all of my devices. In this "Set SNMP" id like to build out the ability to add an IP range as well as a new SNMP v2 community string. It seems even the example on the link below is throwing an error around the "- name:" area. This is indented 4 spaces within the YML file. Any help would be greatly appreciated.
- name: Set the SNMP parameters on the BIG-IP
bigip_snmp:
contact: "Test"
password: "{{ passwordhere }}"
server: "10.10.6.146"
user: "admin"
validate_certs: "false"
delegate_to: localhost
- marin_266716
Nimbostratus
- Added Error from Tower
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path. 4 5 The error appears to have been in '/app/ansible-tower/var/lib/awx/projects/_9225__configmgmt_network/set_snmp_location.yml': line 10, column 7, but may 6 be elsewhere in the file depending on the exact syntax problem. 7 8 The offending line appears to be: 9 10 11 - name: Set the SNMP settings on the BIG-IP 12 ^ here 13
- marin_266716
Nimbostratus
Recent Discussions
Related Content
* 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