From ac68e3962106496be04b6aa98f140b170bdbfa4b Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Mon, 20 May 2019 15:31:00 +0200 Subject: [PATCH] resolve ansible deprecation warning --- tasks/main.yml | 4 ++-- vars/main.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index e8156c7..debbef2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -60,7 +60,7 @@ - dsa notify: - restart ssh - when: generate_ecdsa_too + when: generate_ecdsa_too|bool - name: Remove unwanted host keys become: yes @@ -73,7 +73,7 @@ - dsa notify: - restart ssh - when: not generate_ecdsa_too + when: not generate_ecdsa_too|bool - name: make sure the correct keys are available file: diff --git a/vars/main.yml b/vars/main.yml index ec25cbf..6997634 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -playbook_version_number: 111 +playbook_version_number: 112 playbook_version_path: '/etc/ansible-version/role-sshd_chaos-bodensee_github.com.version'