ctera.ctera.ctera_portal_timezone (2.2.17) — module

Set the timezone of CTERA Portal

Authors: Saimon Michelson (@saimonation), Ygal Blum (@ygalblum)

preview | supported by community

Install collection

Install with ansible-galaxy collection install ctera.ctera:==2.2.17


Add to requirements.yml

  collections:
    - name: ctera.ctera
      version: 2.2.17

Description

Set the timezone of CTERA Portal


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Set Timezone
  ctera.ctera.ctera_portal_timezone:
    timezone: "(GMT-05:00) Eastern Time (US , Canada)"
    ctera_host: "{{ ctera_portal_hostname }}"
    ctera_user: "{{ ctera_portal_user }}"
    ctera_password: "{{ ctera_portal_password }}"

Inputs

    
tenant:
    description:
    - Name of the tenant.
    - For Global Admin operations set to "$admin"
    - Use default if not provided.
    - Do not set for initialization operations
    type: str

timezone:
    description: The timezone for CTERA Portal
    required: true
    type: str

Outputs

current_timezone:
  description: The timezone after the change
  returned: Always
  sample: (GMT-06:00) Central Time (US , Canada)
  type: str
previous_timezone:
  description: The timezone before the change
  returned: When timezone is changed
  sample: (GMT-05:00) Eastern Time (US , Canada)
  type: str