scaleuptechnologies.idoit.idoit_cat_model module – Create or update a model category to an object
Note
This module is part of the scaleuptechnologies.idoit collection (version 0.20.0).
To install it, use: ansible-galaxy collection install scaleuptechnologies.idoit
.
To use it in a playbook, specify: scaleuptechnologies.idoit.idoit_cat_model
.
Synopsis
Adds C__CATG__MODEL category to an object if not there or update values
Parameters
Parameter |
Comments |
---|---|
Description of the Model |
|
Firmware |
|
i-doit credentials |
|
The API Key for i-doit. |
|
Return an api log of the i-doit api. Choices:
|
|
The Json RPC Url to i-doit. |
|
The password for the user. |
|
The username to login in i-doit. |
|
Name of Manufactuerer of the device, if not there it will be created |
|
Id of Manufactuerer of the device |
|
Model of the device, if not there it will be created |
|
Id of Model of the device |
|
i-doit object id |
|
Product-ID |
|
Serial |
|
Service Tag |
|
State of the category Choices:
|
Examples
- name: Set a Model for a machine with serial
scaleuptechnologies.idoit.idoit_cat_model:
idoit: '{{ idoit_access }}'
manufacturer: HP
model: ProLiant DL160G6
obj_id: 1320
serial: '42'
service_tag: CZJ037040C
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Are there changes? Returned: always |
|
New data Returned: success Sample: |
|
Category Id of the saved category Returned: success |
|
I-Doit API Result Returned: success |