Skip to content

Commit

Permalink
use check_mode: no instead of always_run: yes
Browse files Browse the repository at this point in the history
role now requires ansible 2.2
  • Loading branch information
martbhell committed Nov 23, 2016
1 parent cc92b82 commit bc3b58d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ galaxy_info:
# - Apache
# - CC-BY
license: MIT
min_ansible_version: 2.1
min_ansible_version: 2.2
#
# Below are all platforms currently available. Just uncomment
# the ones that apply to your role. If you don't see your
Expand Down
2 changes: 1 addition & 1 deletion tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
register: reg_inventory
changed_when: False
delegate_to: localhost
always_run: True
check_mode: no
become: false

- name: store the list of hosts as json in a variable called hosts_file_my_inventory
Expand Down

0 comments on commit bc3b58d

Please sign in to comment.