项目作者: CiscoDevNet

项目描述 :
Ansible Collection for automating operations using Cisco DNA Center
高级语言: Python
项目地址: git://github.com/CiscoDevNet/ansible-dnac.git
创建时间: 2019-05-28T14:37:29Z
项目社区:https://github.com/CiscoDevNet/ansible-dnac

开源协议:GNU General Public License v3.0

下载


ansible-dnac

The ansible-dnac project provides an Ansible collection for automating tasks
of the Cisco DNA Center server. It provides a set of plugins and roles for
perfoming tasks against the DNA Center server.

Note: This collection is not compatible with versions of Ansible before 2.8

Requirements

  • Ansible 2.8 or later
  • Cisco Intent API 1.2 or later

Contributing

Contributions are strongly encourged from the Cisco DevNet community. To
contribute to this collection simply fork the project in Github, create a new
feature and/or bugfix branch, make your changes and submit a pull request.

Running from source

This collection can be run from the source checkout. To install the
collection issue the following command:

make install

This command will install the collection to the local users Ansible collections
path at ~/.ansible/collections/ansible_collections/ciscodevnet/ansible_dnac

To uninstall the collection issue the command:

make uninstall

Once the collection is installed, you can use it in a playbook by specifying
the full namespace path to the module, plugin and/or role.

  1. ---
  2. - hosts: dnac
  3. gather_facts: no
  4. tasks:
  5. - name: add devices to inventory
  6. ciscodevnet.ansible_dnac.devices:
  7. config:
  8. - address: 1.2.3.4
  9. username: ansible
  10. password: ansible
  11. snmp_ro_community: public
  12. snmp_rw_community: private
  13. - address: 5.6.7.8
  14. username: ansible
  15. password: ansible
  16. snmp_ro_community: public
  17. snmp_rw_communit
  18. state: present

License

GPLv3

Contributors