From 35d242cde309aeb2dcc1f4d058fdd202f980cd7c Mon Sep 17 00:00:00 2001 From: Andrei Darashenka Date: Tue, 8 Jan 2019 15:04:35 +0100 Subject: [PATCH] fix always_run error: https://github.com/ansible/ansible-lint/issues/220 --- tasks/8.5-acls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/8.5-acls.yml b/tasks/8.5-acls.yml index bdf3540..6c221e8 100644 --- a/tasks/8.5-acls.yml +++ b/tasks/8.5-acls.yml @@ -3,7 +3,7 @@ tags: tomcat become: true register: tomcat_registered_files - always_run: true + check_mode: no changed_when: false when: tomcat_fact_is_not_initial_check_mode shell: ls -1 {{ acl_dir }}/*.jar