dellemc.openmanage.ome_application_certificate – This module allows to generate a CSR and upload the certificate¶
Note
This plugin is part of the dellemc.openmanage collection (version 3.2.0).
To install it use: ansible-galaxy collection install dellemc.openmanage
.
To use it in a playbook, specify: dellemc.openmanage.ome_application_certificate
.
New in version 2.1.0: of dellemc.openmanage
Synopsis¶
This module allows the generation a new certificate signing request (CSR) and to upload the certificate on OpenManage Enterprise.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.7.5
Parameters¶
Notes¶
Note
If a certificate is uploaded, which is identical to an already existing certificate, it is accepted by the module.
This module does not support
check_mode
.
Examples¶
---
- name: Generate a certificate signing request
dellemc.openmanage.ome_application_certificate:
hostname: "192.168.0.1"
username: "username"
password: "password"
command: "generate_csr"
distinguished_name: "hostname.com"
department_name: "Remote Access Group"
business_name: "Dell Inc."
locality: "Round Rock"
country_state: "Texas"
country: "US"
email: "[email protected]"
- name: Upload the certificate
dellemc.openmanage.ome_application_certificate:
hostname: "192.168.0.1"
username: "username"
password: "password"
command: "upload"
upload_file: "/path/certificate.cer"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Felix Stephen (@felixs88)