Update for ansible 2.8
This commit is contained in:
parent
6dd27f2df4
commit
918cd1f472
1 changed files with 8 additions and 1 deletions
|
|
@ -46,7 +46,14 @@
|
||||||
certbot_certname: "{{ postfix_myhostname }}"
|
certbot_certname: "{{ postfix_myhostname }}"
|
||||||
when:
|
when:
|
||||||
- postfix_mydestination is defined
|
- postfix_mydestination is defined
|
||||||
notify: Restart postfix
|
register: certificat_changed
|
||||||
|
|
||||||
|
- name: Restart postfix after certificat installation
|
||||||
|
service:
|
||||||
|
name: postfix
|
||||||
|
status: restarted
|
||||||
|
when:
|
||||||
|
- certificat_changed is changed
|
||||||
|
|
||||||
- name: Open Firewalld
|
- name: Open Firewalld
|
||||||
firewalld:
|
firewalld:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue