mirror of https://github.com/ansible/ansible.git
add_host should not be a changed action
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.pull/3343/head
parent
6304b7e793
commit
e1dd83f2b6
Loading…
Reference in New Issue