-
-
Notifications
You must be signed in to change notification settings - Fork 483
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Hello,
As I already have pihole up and running, I've specified the below in config.yml
pihole_enable: false
inventory.ini looks like:
[internet_pi]
10.0.0.25 ansible_user=pi
But running $ansible-playbook main.yml fails with:
PLAY [internet_pi] ***************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************
fatal: [10.0.0.25]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 10.0.0.25 port 22: Connection refused", "unreachable": true}
PLAY RECAP ***********************************************************************************************************************************************************************
10.0.0.25 : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
Is this because ssh is listening to a custom port on the server running pihole? If so, how can I specify this?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested