diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2020-02-27 14:12:46 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2020-02-27 14:13:01 +0100 |
commit | bf5374dd9724ca511567941dff8d472ebda51420 (patch) | |
tree | 96ff3c48d7062bd91303f322442dca48fec17531 /roles/doorputer/tasks | |
parent | f1b1a9fd90056b2d42b2cb41e71af254e2c07268 (diff) | |
download | labitat-ansible-bf5374dd9724ca511567941dff8d472ebda51420.tar.gz labitat-ansible-bf5374dd9724ca511567941dff8d472ebda51420.tar.xz labitat-ansible-bf5374dd9724ca511567941dff8d472ebda51420.zip |
raspbian: update for hash_behaviour = replace
Diffstat (limited to 'roles/doorputer/tasks')
-rw-r--r-- | roles/doorputer/tasks/lockserver.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/doorputer/tasks/lockserver.yml b/roles/doorputer/tasks/lockserver.yml index 033e80d..a9122d1 100644 --- a/roles/doorputer/tasks/lockserver.yml +++ b/roles/doorputer/tasks/lockserver.yml @@ -46,6 +46,8 @@ mode: 0700 - name: Create lockserver.ini + vars: + lockserver_conf: '{{ lockserver_conf_role|combine(lockserver_conf_secrets) }}' ini_file: path: '~doorman/.config/lockserver.ini' section: "{{ item.key.split('.',1)[0] }}" @@ -56,6 +58,7 @@ group: users mode: 0600 with_dict: '{{ lockserver_conf }}' + when: lockserver_conf_secrets|length > 0 - name: Install lockserver service copy: |