From 13ef9cf3bdcd4f349e4d2c30f5c1de724a925b26 Mon Sep 17 00:00:00 2001 From: Matthew Keeler Date: Sun, 15 Jan 2017 13:14:00 -0600 Subject: [PATCH] Replace always_run with check_mode always_run is deprecated, and will be removed in Ansible 2.4. Use check_mode = no instead. Change-Id: I1c7ca15c63d14375318c65e23368074a68e5f36d --- tasks/rhel7stig/apt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/rhel7stig/apt.yml b/tasks/rhel7stig/apt.yml index 4b4d8b9b..d87835a5 100644 --- a/tasks/rhel7stig/apt.yml +++ b/tasks/rhel7stig/apt.yml @@ -67,7 +67,7 @@ register: gpgcheck_result changed_when: False failed_when: False - always_run: True + check_mode: no - name: RHEL-07-020150 - Package management tool must verify authenticity of packages debug: