From e1e5add8a60706dbdd5e4394efd47cd155996bf7 Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Wed, 29 May 2019 13:38:05 +0200 Subject: [PATCH] Improved 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 1246788..31a5119 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -33,5 +33,5 @@ __i3_workspaces: user: "{{ i3wm_user }}" -playbook_version_number: 9000 # should be over ninethousand +playbook_version_number: 9001 # should be over ninethousand playbook_version_path: '/etc/ansible-version/role-i3wm_chaos-bodensee_github.com.version'