nsxt_principal_identities – Register a name-certificate combination¶
New in version 2.7.
Parameters¶
Examples¶
- hosts: 127.0.0.1
connection: local
become: yes
vars_files:
- answerfile.yml
tasks:
- name: Register a name-certificate combination
nsxt_principal_identities:
hostname: "{{hostname}}"
username: "{{username}}"
password: "{{password}}"
validate_certs: False
display_name: "Akhilesh_principal_display_name"
name: "Akhilesh_principal_name"
node_id: "node-1"
role: "enterprise_admin"
certificate_name: "Akhilesh_cert"
state: "present"