-
Notifications
You must be signed in to change notification settings - Fork 33
/
csr_gen_export.yml
49 lines (41 loc) · 1.36 KB
/
csr_gen_export.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
# Copyright 2019 Broadcom. All rights reserved.
# The term 'Broadcom' refers to Broadcom Inc. and/or its subsidiaries.
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
- hosts: san_eng_zone_seed_san_a
gather_facts: False
vars:
credential:
fos_ip_addr: "{{fos_ip_addr}}"
fos_user_name: "{{fos_user_name}}"
fos_password: "{{fos_password}}"
https: "{{fos_https}}"
generate_inputs:
certificate_entity: csr
certificate_type: https
country_name: US
state_name: CA
locality_name: SJ
organization_name: Broadcom
domain_name: 10.155.107.74
action_inputs:
remote_user_name: user_name
remote_host_ip: host_ip
remote_user_password: password
remote_directory: diretory
protocol: scp
certificate_entity: csr
certificate_type: https
operation: export
tasks:
- name: CSR generation. Existing CSR is not compared. This task will always change.
brocade_security_security_certificate_generate:
credential: "{{credential}}"
vfid: -1
generate_inputs: "{{generate_inputs}}"
- name: CSR export. Existing CSR is not compared. This task will always change.
brocade_security_security_certificate_action:
credential: "{{credential}}"
vfid: -1
action_inputs: "{{action_inputs}}"