Fix the secret dest file path

This commit is contained in:
Andrea Dell'Amico 2022-06-06 13:20:46 +02:00
parent cc3d98d893
commit e07ed5d24a
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 9 additions and 12 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'
@ -51,15 +60,3 @@
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']