|
@@ -277,8 +277,7 @@
|
|
- name: "Make sure certs dir exists"
|
|
- name: "Make sure certs dir exists"
|
|
shell: "mkdir -p /opt/flowdat/extra/nginx/certs"
|
|
shell: "mkdir -p /opt/flowdat/extra/nginx/certs"
|
|
- name: "Generate self-signed certs for Nginx"
|
|
- name: "Generate self-signed certs for Nginx"
|
|
- shell: 'openssl req -x509 -nodes -batch -days 365 -newkey rsa:2048 -keyout /opt/flowdat/extra/nginx/certs/privkey.pem -out /opt/flowdat/extra/nginx/certs/fullchain.pem -subj "/C=AR/ST=Santa Fe/L=Rosario/O=Interlink/OU=R&D/CN=*.{{ lookup('env','CLIENT') }}.{{ lookup('env','DOMAIN') }}/emailAddress=idev@interlink.com.ar"'
|
|
|
|
-
|
|
|
|
|
|
+ shell: "openssl req -x509 -nodes -batch -days 365 -newkey rsa:2048 -keyout /opt/flowdat/extra/nginx/certs/privkey.pem -out /opt/flowdat/extra/nginx/certs/fullchain.pem -subj '/C=AR/ST=Santa Fe/L=Rosario/O=Interlink/OU=R&D/CN=*.{{ lookup('env','CLIENT') }}.{{ lookup('env','DOMAIN') }}/emailAddress=idev@interlink.com.ar'"
|
|
- name: "Run up all. Tag=up_all"
|
|
- name: "Run up all. Tag=up_all"
|
|
hosts: 127.0.0.1
|
|
hosts: 127.0.0.1
|
|
connection: local
|
|
connection: local
|