From: Michael Scherer misc@zarb.org
Avoid a uneeded fork, and avoid repeating the filename --- playbooks/death_to_postfix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/playbooks/death_to_postfix.yml b/playbooks/death_to_postfix.yml index 46a1f33..8e0c2a8 100644 --- a/playbooks/death_to_postfix.yml +++ b/playbooks/death_to_postfix.yml @@ -15,7 +15,7 @@ command: pkill -u root master removes=/var/spool/postfix/pid/master.pid
- name: Clean up old pid lock file. - command: rm /var/spool/postfix/pid/master.pid removes=/var/spool/postfix/pid/master.pid + file: name=/var/spool/postfix/pid/master.pid state=absent
- name: Try to start postfix cleanly service: name=postfix state=started
infrastructure@lists.fedoraproject.org