New in version 2.3.
- aos-pyez >= 0.6.0
parameter | required | default | choices | comments |
---|---|---|---|---|
approve |
no | no |
|
The approve argument instruct the module to convert a device in quarantine mode into approved mode. |
id |
no | 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 |
no | When approving a device using the approve argument, it's possible define the location of the device. | ||
name |
no | The device serial-number; i.e. uniquely identifies the device in the AOS system. Only one of name or id can be set. | ||
session |
yes | An existing AOS session as obtained by aos_login module. | ||
state |
no | normal |
|
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 preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.