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. |
||
---|---|---|
.. | ||
callback_plugins | ||
inventory | ||
playbook | ||
runner | ||
utils | ||
__init__.py | ||
callbacks.py | ||
color.py | ||
constants.py | ||
errors.py | ||
module_common.py |