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:
6666 certificate : license/nginx-repo.crt
6767 key : license/nginx-repo.key
6868
69+ # Delete NGINX Plus license after installation for security purposes.
70+ # Default is true.
71+ delete_license : true
72+
6973# Enable uploading NGINX configuration files to your system.
7074# Default for uploading files is false.
7175# 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 1818 name : nginx-plus
1919 state : present
2020 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