dellemc.vxrail.dellemc_vxrail_certificate_generate_csr (2.2.0) — module

Generate a CSR

| "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 generate a Certificate Signing Request.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Generate a Certificate Signing Request
    dellemc_vxrail_certificate_generate_csr:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        country: "{{ country }}"
        state: "{{ state }}"
        locality: "{{ locality }}"
        organization: "{{ organization }}"
        organization_unit: "{{ organization_unit }}"
        common_name: "{{ common_name }}"
        email_address: "{{ email_address }}"
        subject_alt_name: "{{ subject_alt_name }}"
        api_version_number: "{{ api_version_number }}"

Inputs

    
state:
    description: The state or province name
    required: false
    type: str

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

country:
    description: The two-letter country code
    required: true
    type: str

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

locality:
    description: The locality name
    required: true
    type: str

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

common_name:
    description: The common name
    required: true
    type: str

organization:
    description: The organization name
    required: true
    type: str

email_address:
    description: The email address
    required: false
    type: str

subject_alt_name:
    description: Specify the IP addresses or domains as the alternative names
    elements: str
    required: false
    type: list

organization_unit:
    description: The organization unit name
    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

csr_information:
  description: Return the the Certificate Signing Request information.
  returned: always
  sample: "{\n    \"csr\": \"-----BEGIN CERTIFICATE REQUEST-----\\n......\\n-----END\
    \ CERTIFICATE REQUEST-----\"\n}"
  type: dict