dellemc.vxrail.dellemc_vxrail_certificates_get_scep_status (2.2.0) — module

Get automated renewal status of the certificate.

| "added in version" 1.4.0 of dellemc.vxrail"

Authors: VxRail Development Team(@VxRailDevTeam) <ansible.team@dell.com>

Install collection

Install with ansible-galaxy collection install dellemc.vxrail:==2.2.0


Add to requirements.yml

  collections:
    - name: dellemc.vxrail
      version: 2.2.0

Description

This module will call /cluster/certificates/scep/status api to get automated renewal status of the VxRail Manager TLS certificate

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Get automated renewal status of the certificate
    dellemc_vxrail_certificates_get_scep_status:
      vxmip: "{{ vxmip }}"
      vcadmin: "{{ vcadmin }}"
      vcpasswd: "{{ vcpasswd }}"

Inputs

    
vxmip:
    description: The IP address of the VxRail Manager System
    required: true
    type: str

timeout:
    default: 60
    description: Time out value for getting automated renewal status, the default value
      is 60 seconds
    required: false
    type: int

vcadmin:
    description: Administrative account of the vCenter Server the VxRail Manager is registered
      to
    required: true
    type: str

vcpasswd:
    description: The password for the administrator account provided in vcadmin
    required: true
    type: str

api_version_number:
    description: A specific version number to use for the API call. If not included, will
      use the highest version by default
    required: false
    type: int

Outputs

SCEP_Status:
  description: automated renewal status
  returned: always
  sample: "{\n  \"vxm_cert_expire_time\": \"2023-08-13 02:42:23 UTC\",\n  \"last_failure_time\"\
    : \"2022-05-24 03:49:35 UTC\",\n  \"last_error_msg\": \"b'{\\\\n  \\\"errorCode\\\
    \" : 652,\\\\n  \\\"message\\\" : \\\"The same operation CERTIFICATE_UPDATE is\
    \ running, try again later.\\\"\\\\n}'\",\n  \"last_result\": \"VXM_CERT_IS_YOUNG\"\
    ,\n  \"last_run_time\": \"2022-05-24 03:49:35 UTC\",\n  \"last_success_time\"\
    : \"2022-05-24 02:49:36 UTC\",\n  \"scep_enabled\": true\n}"
  type: dict