diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-12-24 23:26:35 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-12-24 23:27:04 +0100 |
commit | 72811f0f48cad07351ab5c5224616383a6920add (patch) | |
tree | 00a83796ec8f18d0b2e595954a547978793fab21 /ansible/roles/trygvis-base | |
parent | 06e898929c271307a8e6cadf368c745569c0eb1c (diff) | |
download | infra-72811f0f48cad07351ab5c5224616383a6920add.tar.gz infra-72811f0f48cad07351ab5c5224616383a6920add.tar.bz2 infra-72811f0f48cad07351ab5c5224616383a6920add.tar.xz infra-72811f0f48cad07351ab5c5224616383a6920add.zip |
misc
Diffstat (limited to 'ansible/roles/trygvis-base')
-rw-r--r-- | ansible/roles/trygvis-base/defaults/main.yml | 10 | ||||
-rw-r--r-- | ansible/roles/trygvis-base/handlers/main.yml | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ansible/roles/trygvis-base/defaults/main.yml b/ansible/roles/trygvis-base/defaults/main.yml index f469304..8244bbf 100644 --- a/ansible/roles/trygvis-base/defaults/main.yml +++ b/ansible/roles/trygvis-base/defaults/main.yml @@ -1,7 +1,7 @@ -bitraf_base__etc_localtime: yes -bitraf_base__remove_root_authorized_keys: yes -bitraf_base__fix_aliases: yes +trygvis_base__etc_localtime: yes +trygvis_base__remove_root_authorized_keys: yes +trygvis_base__fix_aliases: yes # These mostly applies to LXC hosts -bitraf_base__fix_hosts: no -bitraf_base__syslog: no +trygvis_base__fix_hosts: no +trygvis_base__syslog: no 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" |