File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ license:
66
66
certificate : license/nginx-repo.crt
67
67
key : license/nginx-repo.key
68
68
69
+ # Delete NGINX Plus license after installation for security purposes.
70
+ # Default is true.
71
+ delete_license : true
72
+
69
73
# Enable uploading NGINX configuration files to your system.
70
74
# Default for uploading files is false.
71
75
# Default location of files is the files folder within the NGINX Ansible role.
Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : " (All OSs) Delete NGINX Plus License"
3
+ file :
4
+ path : /etc/ssl/nginx
5
+ state : absent
Original file line number Diff line number Diff line change 18
18
name : nginx-plus
19
19
state : present
20
20
notify : " (Handler: All OSs) Start NGINX"
21
+
22
+ - import_tasks : delete-license.yml
23
+ when : delete_license
You can’t perform that action at this time.
0 commit comments