diff --git a/tasks/main.yml b/tasks/main.yml index 2b1fd56..ee6dd38 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -111,6 +111,8 @@ cp /etc/postfix/main.cf /etc/postfix/main.cf.{{ postfix_backup_multiple | ternary("$(date -Iseconds)", "backup") }} + args: + executable: /bin/bash when: postfix_backup or postfix_backup_multiple changed_when: true