Skip to content

Commit

Permalink
sanity, part 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgetwan committed Aug 17, 2023
1 parent 20aac46 commit 67a5bf6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions plugins/lookup/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-

# Copyright: (c) 2023, Lars Getwan <[email protected]>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

Expand All @@ -9,7 +6,7 @@

DOCUMENTATION = """
name: version
author: Lars Getwan <[email protected]>
author: Lars Getwan (@lgetwan)
version_added: "3.1"
short_description: Get the version of a CMK server
description:
Expand Down Expand Up @@ -38,7 +35,8 @@

EXAMPLES = """
- name: We could read the file directly, but this shows output from command
ansible.builtin.debug: msg="CMK version installed is{{ lookup('checkmk.general.version', 'https://myserver/mysite' }}."
ansible.builtin.debug:
msg: "CMK version installed is{{ lookup('checkmk.general.version', 'https://myserver/mysite', automation_user='automation', automation_secret='$SECRET'}}."
"""

RETURN = """
Expand Down

0 comments on commit 67a5bf6

Please sign in to comment.