From 47ceffc194daac30339b8f6681cb63aa72ea2ddd Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Fri, 24 Mar 2017 14:12:49 +0000 Subject: [PATCH] Prepare for Ansible 2.4 by change always_run to check_mode --- meta/main.yml | 2 +- tasks/users-update.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/main.yml b/meta/main.yml index de9906b..85e3c26 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -5,7 +5,7 @@ galaxy_info: issue_tracker_url: https://github.com/jonathanio/ansible-role-users/issues github_branch: master license: BSD - min_ansible_version: 2.0 + min_ansible_version: 2.1 platforms: - name: EL versions: diff --git a/tasks/users-update.yml b/tasks/users-update.yml index fea6ea2..66228b6 100644 --- a/tasks/users-update.yml +++ b/tasks/users-update.yml @@ -7,8 +7,8 @@ users_present changed_when: False - always_run: - yes + check_mode: + no tags: - user_passwords - user_keys