mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
e1dd83f2b6
The action doesn't actually change anything on a system, so setting the status to changed is wrong. add_host is much like set_fact in that regard. Since changed is False by default, there is no need to explicity set it, so just create an empty dict for result and add to it from there. |
||
---|---|---|
.. | ||
action_plugins | ||
connection_plugins | ||
filter_plugins | ||
lookup_plugins | ||
__init__.py | ||
connection.py | ||
poller.py | ||
return_data.py |