diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-05 16:20:51 +0000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2016-12-05 11:20:51 -0500 |
commit | 9684b456be7e7de1d3446273b184ebf9c61d66ba (patch) | |
tree | 075b6fe8f4797098addf4bedcb29e2a78615bfd8 /cloud/amazon | |
parent | a861bb8c2fb9f4f9e47d7b15c83435149008e97b (diff) | |
download | ansible-modules-extras-9684b456be7e7de1d3446273b184ebf9c61d66ba.tar.gz |
Make `main()` calls conditional - cloud (#3657)
Diffstat (limited to 'cloud/amazon')
-rw-r--r-- | cloud/amazon/ec2_win_password.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloud/amazon/ec2_win_password.py b/cloud/amazon/ec2_win_password.py index e0f6205f..b320a24c 100644 --- a/cloud/amazon/ec2_win_password.py +++ b/cloud/amazon/ec2_win_password.py @@ -172,4 +172,5 @@ def main(): from ansible.module_utils.basic import * from ansible.module_utils.ec2 import * -main() +if __name__ == '__main__': + main() |