-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathnslaslicense_offline.yaml
More file actions
41 lines (38 loc) · 1.36 KB
/
nslaslicense_offline.yaml
File metadata and controls
41 lines (38 loc) · 1.36 KB
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
---
- name: Sample nslaslicense_offline playbook
hosts: demo_netscalers
gather_facts: false
tasks:
- name: Apply offline LAS license to NetScaler ADC
delegate_to: localhost
netscaler.adc.nslaslicense_offline:
nsip: "{{ nsip }}"
nitro_user: "{{ nitro_user }}"
nitro_pass: "{{ nitro_pass }}"
nitro_protocol: "{{ nitro_protocol | default('https') }}"
validate_certs: false
request_pem: CNS_V10000_SERVER
request_ed: Premium
is_fips: false
las_secrets_json: /path/to/las_secrets.json
register: lic_result
- name: Display license result
ansible.builtin.debug:
var: lic_result
- name: Apply offline LAS license with host key checking disabled (trusted isolated environment)
delegate_to: localhost
netscaler.adc.nslaslicense_offline:
nsip: "{{ nsip }}"
nitro_user: "{{ nitro_user }}"
nitro_pass: "{{ nitro_pass }}"
nitro_protocol: "{{ nitro_protocol | default('https') }}"
validate_certs: false
host_key_checking: false
request_pem: CNS_V10000_SERVER
request_ed: Premium
is_fips: false
las_secrets_json: /path/to/las_secrets.json
register: lic_result_no_hkc
- name: Display license result (no host key checking)
ansible.builtin.debug:
var: lic_result_no_hkc