Skip to content

Commit

Permalink
correctly set port and other options
Browse files Browse the repository at this point in the history
  • Loading branch information
unicolet committed Apr 23, 2023
1 parent 2655e62 commit 27f31c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inventory
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions library/unicolet_ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 27f31c7

Please sign in to comment.