Skip to content

Commit

Permalink
Add description header to the osinfo lookup plugin file
Browse files Browse the repository at this point in the history
  • Loading branch information
MarSik committed Oct 16, 2018
1 parent 7732515 commit 97652aa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lookup_plugins/osinfo.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# This is an Ansible / Jinja2 lookup plugin
# that allows querying the libosinfo database
#
# Example usage:
# {{ lookup('osinfo', 'fedora15')["minimum_resources.0.ram"] }}
# {% if "name=virtio-scsi2" in lookup('osinfo', 'fedora15').all_devices %}
#
# The code is distributed under the Apache 2 license

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type

Expand Down

0 comments on commit 97652aa

Please sign in to comment.