srs: fix the secrets path.

This commit is contained in:
Andrea Dell'Amico 2022-06-06 13:22:05 +02:00
parent d0fd2e65e0
commit 37ff06f4ab
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 9 additions and 13 deletions

View File

@ -30,6 +30,15 @@
- name: POSTSRSD configuration
block:
- name: Install the postsrsd secret. After the first start of the service
template:
src: postsrsd.secret.j2
dest: '{{ postfix_srs_secret_file }}'
mode: 0440
owner: '{{ postfix_srs_user }}'
group: 'root'
notify: restart postsrsd
- name: Install the postsrsd configuration file
template:
src: 'postsrsd.default.j2'
@ -50,16 +59,3 @@
enabled: true
tags: ['postfix', 'postfix_postsrsd', 'postsrsd']
- name: POSTSRSD secret
block:
- name: Install the postsrsd secret. After the first start of the service
template:
src: postsrsd.secret.j2
dest: '{{ postfix_srs_conf_file }}'
mode: 0440
owner: '{{ postfix_srs_user }}'
group: 'root'
notify: restart postsrsd
tags: ['postfix', 'postfix_postsrsd', 'postsrsd', 'postfix_conf', 'postsrsd_conf']