blob: dbb479a72623d4e0dfd4097f1763efb60ab0acca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
name: world
short_description: World lookup
description: A world lookup.
author:
- Ansible Core Team
'''
EXAMPLES = '''
- debug:
msg: "{{ lookup('ns.col.world') }}"
'''
RETURN = ''' # '''
from ansible.plugins.lookup import LookupBase
from ansible import constants
class LookupModule(LookupBase):
def run(self, terms, variables, **kwargs):
self.set_options(var_options=variables, direct=kwargs)
return terms
|