aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/trygvis-base/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/trygvis-base/handlers')
-rw-r--r--ansible/roles/trygvis-base/handlers/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/trygvis-base/handlers/main.yml b/ansible/roles/trygvis-base/handlers/main.yml
index c0b601c..f06ad24 100644
--- a/ansible/roles/trygvis-base/handlers/main.yml
+++ b/ansible/roles/trygvis-base/handlers/main.yml
@@ -4,4 +4,4 @@
- name: postalias /etc/aliases
become: yes
- shell: "[ -x /usr/sbin/postalias ] && /usr/sbin/postalias /etc/aliases"
+ shell: "[ ! -x /usr/sbin/postalias ] || /usr/sbin/postalias /etc/aliases"