netbox: fix syntax error
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b239dfb38f
commit
40a64d1e77
@ -86,11 +86,11 @@
|
||||
# * systemd Configuration
|
||||
|
||||
- name: Ensure certificates are available
|
||||
command: >
|
||||
command:
|
||||
cmd: >
|
||||
openssl req -x509 -nodes -newkey rsa:2048
|
||||
-keyout /etc/nginx/ssl/{{ netbox_domain }}.key -out /etc/nginx/ssl/{{ netbox_domain }}.crt
|
||||
-days 730 -subj "/CN={{ netbox_domain }}"
|
||||
changed_when: True
|
||||
creates: '/etc/nginx/ssl/{{ netbox_domain }}.crt'
|
||||
notify: Restart nginx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user