diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2016-12-06 08:37:08 -0800 |
---|---|---|
committer | ansible <ansible@ansible.com> | 2016-12-06 19:58:10 +0000 |
commit | c9f34ea5faae82beb2bd51ebcbd78595d4c1c77d (patch) | |
tree | 19b0075f53b3145e2df8a8694c6a120cee10ce10 | |
parent | 7e84bcec30a3c2c821874b485cd9888b7dc6fd60 (diff) | |
download | ansible-c9f34ea5faae82beb2bd51ebcbd78595d4c1c77d.tar.gz |
Add metadata for xbps
Pass pyflakes
-rw-r--r-- | lib/ansible/modules/packaging/os/xbps.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/ansible/modules/packaging/os/xbps.py b/lib/ansible/modules/packaging/os/xbps.py index ad3a90b939..0bfe678ab8 100644 --- a/lib/ansible/modules/packaging/os/xbps.py +++ b/lib/ansible/modules/packaging/os/xbps.py @@ -19,6 +19,10 @@ # along with Ansible. If not, see <http://www.gnu.org/licenses/>. # +ANSIBLE_METADATA = {'status': ['preview'], + 'supported_by': 'community', + 'version': '1.0'} + DOCUMENTATION = ''' --- module: xbps @@ -94,6 +98,8 @@ packages: import os +from ansible.module_utils.basic import AnsibleModule + def is_installed(xbps_output): """Returns package install state""" @@ -293,8 +299,5 @@ def main(): remove_packages(module, xbps_path, pkgs) -# import module snippets -from ansible.module_utils.basic import * - if __name__ == "__main__": main() |