We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dd683c commit b727683Copy full SHA for b727683
1 file changed
ansible/roles/nginx-proxied-service/tasks/main.yml
@@ -1,5 +1,4 @@
1
---
2
-# these are pretty hacky, but it should work
3
# Get port information from the hosted service
4
- name: get socket server ports
5
tags: [ configure_proxy, deploy ]
@@ -16,7 +15,12 @@
16
15
executable: /bin/bash
17
register: proxy_target_ports
18
19
-# everything from this point on is deligated to the nginx host
+# everything from this point on is delegated to the nginx host
+- name: put dhparam in place
20
+ delegate_to: "{{ nginx_host }}"
21
+ tags: [ configure_proxy ]
22
+ become: yes
23
+ command: openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
24
25
- name: print target ports
26
delegate_to: "{{ nginx_host }}"
0 commit comments