From 5909683cc820b8d92d5a41e7f4d5ff37ddbcccf7 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Tue, 29 Dec 2015 15:29:57 +0100 Subject: [PATCH] Prevent glenux.bash from setting status to 'changed'. --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 9a0d54b..d66d36f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,6 +2,9 @@ - name: List installable sh scripts shell: ls -1 "{{role_path}}/files/bashrc.d/"*.sh register: bash_scripts + failed_when: + bash_scripts.rc != 0 + changed_when: False # tasks file for roles/glenux.bash - name: Install main configuration files for bash