Navigation Menu

Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Add check mode support (#3523)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomislacker authored and ryansb committed Dec 5, 2016
1 parent e6405e2 commit ee18fde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloud/amazon/ec2_remote_facts.py
Expand Up @@ -165,7 +165,8 @@ def main():
)
)

module = AnsibleModule(argument_spec=argument_spec)
module = AnsibleModule(argument_spec=argument_spec,
supports_check_mode=True)

if not HAS_BOTO:
module.fail_json(msg='boto required for this module')
Expand Down

0 comments on commit ee18fde

Please sign in to comment.