diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/doorputer/tasks/lockserver.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/doorputer/tasks/lockserver.yml b/roles/doorputer/tasks/lockserver.yml index a9122d1..89b4dde 100644 --- a/roles/doorputer/tasks/lockserver.yml +++ b/roles/doorputer/tasks/lockserver.yml @@ -52,8 +52,8 @@ path: '~doorman/.config/lockserver.ini' section: "{{ item.key.split('.',1)[0] }}" option: "{{ item.key.split('.',1)[1] }}" - value: "{{ item.value|ternary(item.value,omit) }}" - state: "{{ item.value|ternary('present','absent') }}" + value: "{{ (item.value is string)|ternary(item.value,omit) }}" + state: "{{ (item.value is string)|ternary('present','absent') }}" owner: doorman group: users mode: 0600 |