diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2016-12-06 08:37:08 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2014-09-26 01:01:01 +0000 |
commit | 6d6027f14a2105a66cd1e398b8ccc69ef4a77dfe (patch) | |
tree | 5fd8e2966d495269561cbbbc60ef75ca754b47b7 | |
parent | 9a4c3e6e068cb46eb996a6806a80c4a9f216e454 (diff) | |
download | ansible-6d6027f14a2105a66cd1e398b8ccc69ef4a77dfe.tar.gz |
Add metadata for xbps
Pass pyflakes
-rw-r--r-- | lib/ansible/modules/extras/packaging/os/xbps.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/ansible/modules/extras/packaging/os/xbps.py b/lib/ansible/modules/extras/packaging/os/xbps.py index ad3a90b939..0bfe678ab8 100644 --- a/lib/ansible/modules/extras/packaging/os/xbps.py +++ b/lib/ansible/modules/extras/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() |