scaleuptechnologies.idoit.idoit_cat_memory module – Create or update a memory 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_memory
.
Synopsis
Adds C__CATG__MEMORY category to an object if not there or update values
Parameters
Parameter |
Comments |
---|---|
Size of the RAM in unit |
|
Description of the Memory Module |
|
i-doit category id to update |
|
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 |
|
i-doit object id |
|
field names to compare to find a category to update. Please note, Dialog-Fields can only searched by id |
|
State of the category Choices:
|
|
Something like MemoryStick, Flash, DDRAM, SDRAM, .. |
|
Id of title |
|
Type of the RAM like DDR, DDR2, DDR3 |
|
Id of the type |
|
Unit of the capacity (B,KB,MB,GB,TB) |
|
Id of Capacity Unit |
Examples
- name: Set a new Memory Module
scaleuptechnologies.idoit.idoit_cat_model:
capacity: 8388608
description: DIMM.Socket.A1 M393B1G70BH0-YK0 131A13D9
id: 2
idoit: '{{ idoit_access }}'
manufacturer: Samsung
obj_id: 1320
title: SDRAM
unit: KB
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 |