From f632377d37cc2d3b37852510532a4e9a31df57a5 Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Wed, 22 May 2019 16:10:14 +0200 Subject: [PATCH] don't display a warning if role never run bevore --- tasks/versioncheck.yml | 2 +- vars/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/versioncheck.yml b/tasks/versioncheck.yml index 0d301df..767cd5c 100644 --- a/tasks/versioncheck.yml +++ b/tasks/versioncheck.yml @@ -14,7 +14,7 @@ register: playbook_version when: submodules_versioncheck|bool ignore_errors: yes - changed_when: false + failed_when: false - name: Print remote role version debug: diff --git a/vars/main.yml b/vars/main.yml index bf80e5b..970b78c 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -playbook_version_number: 113 +playbook_version_number: 114 playbook_version_path: '/etc/ansible-version/role-sshd_chaos-bodensee_github.com.version'