From 3b99e47d10cbff84e8eb5d816c64ac2fc5b24ae7 Mon Sep 17 00:00:00 2001 From: Prisacari Dmitrii Date: Wed, 18 Jan 2017 12:08:45 +0200 Subject: [PATCH] Fix for "always_run" deprecation warning --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0715fc2..5a34547 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,7 +25,7 @@ - name: Get installed version of Apache. shell: "{{ apache_daemon_path }}{{ apache_daemon }} -v" changed_when: false - always_run: yes + check_mode: no register: _apache_version - name: Create apache_version variable.