mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f1082af73f
* Error if a module is found to shadow a reserved keyword * Add test for shadowed module * Bring in functools.wraps for the decorator * Drop the decorator, make _find_plugin the real function, find_plugin now holds the shadow logic * Swap order of functions for bottom to top execution order * Only error for modules * Add test for loading a lookup plugin that shadows a keyword
6 lines
125 B
YAML
6 lines
125 B
YAML
---
|
|
- hosts: localhost
|
|
gather_facts: false
|
|
tasks:
|
|
- debug:
|
|
msg: "{{ lookup('vars', 'inventory_hostname') }}"
|