New in version 2.3.
Removed in Ansible: | |
---|---|
version: 2.9 | |
Why: | This module does not support AOS 2.1 or later |
Alternative: | See new modules at https://www.ansible.com/ansible-apstra. |
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
approve bool |
| The approve argument instruct the module to convert a device in quarantine mode into approved mode. |
id | The AOS internal id for a device; i.e. uniquely identifies the device in the AOS system. Only one of name or id can be set. | |
location | When approving a device using the approve argument, it's possible define the location of the device. | |
name | The device serial-number; i.e. uniquely identifies the device in the AOS system. Only one of name or id can be set. | |
session required | An existing AOS session as obtained by aos_login module. | |
state |
| Define in which state the device should be. Currently only normal is supported but the goal is to add maint and decomm. |
- name: Approve a new device aos_device: session: "{{ aos_session }}" name: D2060B2F105429GDABCD123 state: 'normal' approve: true location: "rack-45, ru-18"
This module is flagged as deprecated and will be removed in version 2.9. For more information see DEPRECATED.
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/modules/aos_device_module.html