Adding DHParam generation for IRC ssl_openssl
This commit is contained in:
@@ -12,6 +12,21 @@
|
||||
- "/var/log/inspircd"
|
||||
- "/etc/inspircd"
|
||||
|
||||
- name: Generate dhparam
|
||||
become: yes
|
||||
command:
|
||||
cmd: openssl dhparam -out /etc/inspircd/dhparams.pem 2048
|
||||
creates: /etc/inspircd/dhparams.pem
|
||||
|
||||
- name: Permissions on dhparam
|
||||
become: yes
|
||||
file:
|
||||
state: file
|
||||
path: /etc/inspircd/dhparams.pem
|
||||
owner: ircd
|
||||
group: ircd
|
||||
mode: 0640
|
||||
|
||||
- name: Copy config and fill in attributes
|
||||
register: templatefiles
|
||||
become: yes
|
||||
|
Reference in New Issue
Block a user