forked from FF-RGB/ansible
netbox: fix syntax error
This commit is contained in:
parent
b239dfb38f
commit
40a64d1e77
@ -86,12 +86,12 @@
|
|||||||
# * systemd Configuration
|
# * systemd Configuration
|
||||||
|
|
||||||
- name: Ensure certificates are available
|
- name: Ensure certificates are available
|
||||||
command: >
|
command:
|
||||||
openssl req -x509 -nodes -newkey rsa:2048
|
cmd: >
|
||||||
-keyout /etc/nginx/ssl/{{ netbox_domain }}.key -out /etc/nginx/ssl/{{ netbox_domain }}.crt
|
openssl req -x509 -nodes -newkey rsa:2048
|
||||||
-days 730 -subj "/CN={{ netbox_domain }}"
|
-keyout /etc/nginx/ssl/{{ netbox_domain }}.key -out /etc/nginx/ssl/{{ netbox_domain }}.crt
|
||||||
changed_when: True
|
-days 730 -subj "/CN={{ netbox_domain }}"
|
||||||
creates: '/etc/nginx/ssl/{{ netbox_domain }}.crt'
|
creates: '/etc/nginx/ssl/{{ netbox_domain }}.crt'
|
||||||
notify: Restart nginx
|
notify: Restart nginx
|
||||||
|
|
||||||
#- name: Configure certificate manager for netbox
|
#- name: Configure certificate manager for netbox
|
||||||
|
Loading…
Reference in New Issue
Block a user