hitachivantara.vspone_block.vsp.hv_storage_system module – This module specifies storage systems settings like updating the date and time.

Note

This module is part of the hitachivantara.vspone_block collection (version 4.1.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install hitachivantara.vspone_block. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: hitachivantara.vspone_block.vsp.hv_storage_system.

New in hitachivantara.vspone_block 4.0.0

Synopsis

Requirements

The below requirements are needed on the host that executes this module.

  • python >= 3.8

Parameters

Parameter

Comments

connection_info

dictionary / required

Information required to establish a connection to the storage system.

address

string / required

IP address or hostname of the storage system.

api_token

string

Token used to operate on locked resources.

password

string

Password for authentication. This is a required field.

username

string

Username for authentication. This is a required field.

spec

dictionary / required

Specification storage system.

date_time

dictionary / required

Date and time configuration for the storage system.

adjusts_daylight_saving_time

boolean

Whether daylight saving time is adjusted.

Choices:

  • false

  • true

is_ntp_enabled

boolean / required

Whether NTP is enabled.

Choices:

  • false

  • true

ntp_server_names

list / elements=string

List of NTP server names.

synchronizes_now

boolean

Whether to synchronize time immediately.

Choices:

  • false

  • true

synchronizing_local_time

string

Synchronizing local time.

system_time

string / required

System time in ISO format.

time_zone_id

string / required

Time zone identifier.

Attributes

Attribute

Support

Description

check_mode

Support: none

Determines if the module should run in check mode.

Notes

Note

  • Connection type gateway was removed starting from version 3.4.0. Please use an earlier version if you require this connection type.

Examples

- name: Configure storage system date and time settings
  hitachivantara.vspone_block.vsp.hv_storage_system:
    connection_info:
      address: 192.0.2.10
      username: admin
      password: secret
    spec:
      date_time:
        is_ntp_enabled: true
        ntp_server_names:
          - "ntp1.example.com"
          - "ntp2.example.com"
        time_zone_id: "UTC"
        system_time: "2024-06-01T12:00:00Z"
        synchronizing_local_time: "2024-06-01T12:00:00Z"
        adjusts_daylight_saving_time: true
        synchronizes_now: false

Authors

  • Hitachi Vantara LTD (@hitachi-vantara)