network_cli always connects, even for local actions · Issue #62220 · ansible/ansible
SUMMARY Some local actions (e.g. debug, assert, set_fact, include_vars), which should always work, try to initiate a connection to the target host when ansible_connection: network_cli is set. This ...