aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/trygvis-base/handlers/main.yml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-12-24 23:26:35 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2018-12-24 23:27:04 +0100
commit72811f0f48cad07351ab5c5224616383a6920add (patch)
tree00a83796ec8f18d0b2e595954a547978793fab21 /ansible/roles/trygvis-base/handlers/main.yml
parent06e898929c271307a8e6cadf368c745569c0eb1c (diff)
downloadinfra-72811f0f48cad07351ab5c5224616383a6920add.tar.gz
infra-72811f0f48cad07351ab5c5224616383a6920add.tar.bz2
infra-72811f0f48cad07351ab5c5224616383a6920add.tar.xz
infra-72811f0f48cad07351ab5c5224616383a6920add.zip
misc
Diffstat (limited to 'ansible/roles/trygvis-base/handlers/main.yml')
-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"