summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/ise/playbooks/endpoint_certificate.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
commit975f66f2eebe9dadba04f275774d4ab83f74cf25 (patch)
tree89bd26a93aaae6a25749145b7e4bca4a1e75b2be /ansible_collections/cisco/ise/playbooks/endpoint_certificate.yml
parentInitial commit. (diff)
downloadansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.tar.xz
ansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.zip
Adding upstream version 7.7.0+dfsg.upstream/7.7.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/cisco/ise/playbooks/endpoint_certificate.yml')
-rw-r--r--ansible_collections/cisco/ise/playbooks/endpoint_certificate.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/ansible_collections/cisco/ise/playbooks/endpoint_certificate.yml b/ansible_collections/cisco/ise/playbooks/endpoint_certificate.yml
new file mode 100644
index 000000000..f240c43de
--- /dev/null
+++ b/ansible_collections/cisco/ise/playbooks/endpoint_certificate.yml
@@ -0,0 +1,22 @@
+---
+- hosts: ise_servers
+ gather_facts: false
+ tasks:
+ - name: Get cert
+ cisco.ise.endpoint_certificate:
+ ise_hostname: "{{ ise_hostname }}"
+ ise_username: "{{ ise_username }}"
+ ise_password: "{{ ise_password }}"
+ ise_verify: "{{ ise_verify }}"
+ certTemplateName: CA_SERVICE_Certificate_Template
+ format: PKCS8
+ password: pa5Swor_4d
+ certificateRequest:
+ san: 11-22-33-44-55-66
+ cn: 1.1.1.1
+ dirPath: /tmp/certs
+ register: cert
+
+ - name: Print
+ ansible.builtin.debug:
+ var: cert