Install the secret after the first start.
This commit is contained in:
parent
b124cbf256
commit
d0fd2e65e0
|
@ -30,15 +30,6 @@
|
|||
|
||||
- name: POSTSRSD configuration
|
||||
block:
|
||||
- name: Install the postsrsd secret
|
||||
template:
|
||||
src: postsrsd.secret.j2
|
||||
dest: '{{ postfix_srs_conf_file }}'
|
||||
mode: 0440
|
||||
owner: '{{ postfix_srs_user }}'
|
||||
group: 'root'
|
||||
notify: restart postsrsd
|
||||
|
||||
- name: Install the postsrsd configuration file
|
||||
template:
|
||||
src: 'postsrsd.default.j2'
|
||||
|
@ -59,3 +50,16 @@
|
|||
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']
|
||||
|
|
Loading…
Reference in New Issue