diff --git a/inventory b/inventory index afba45d..0a3c50f 100644 --- a/inventory +++ b/inventory @@ -3,4 +3,4 @@ ansible_network_os=unicolet ansible_connection=ansible.netcommon.httpapi [hosts] -unicolet ansible_host=localhost ansible_port=8080 +unicolet ansible_host="127.0.0.1" ansible_httpapi_port="8080" ansible_httpapi_use_ssl=true diff --git a/library/unicolet_ping.py b/library/unicolet_ping.py index 73b3ee4..dd02f8f 100644 --- a/library/unicolet_ping.py +++ b/library/unicolet_ping.py @@ -22,6 +22,7 @@ def verify_reachability(module): connection = Connection(module._socket_path) result = connection.get_device_info() logging.debug(result) + logging.debug(connection.get_options()) return {"changed": False} # module.fail_json( # msg="Not implemented yet."