From 185a1cd98fc6ff00a9fdce2fbeb74234c644af81 Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Fri, 24 May 2019 08:36:14 +0200 Subject: [PATCH] Improve versionscheck error handling --- tasks/versioncheck.yml | 1 + vars/main.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/versioncheck.yml b/tasks/versioncheck.yml index 28464aa..767cd5c 100644 --- a/tasks/versioncheck.yml +++ b/tasks/versioncheck.yml @@ -14,6 +14,7 @@ register: playbook_version when: submodules_versioncheck|bool ignore_errors: yes + failed_when: false - name: Print remote role version debug: diff --git a/vars/main.yml b/vars/main.yml index b76abd5..77f5f81 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -playbook_version_number: 200 +playbook_version_number: 201 playbook_version_path: '/etc/ansible-version/role-xrandr_chaos-bodensee_github.com.version'