We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5aaad3 commit 1c6f25dCopy full SHA for 1c6f25d
tasks/main.yml
@@ -1,6 +1,6 @@
1
-- name: "Check port {{ ansible_port }}"
+- name: "Check port {{ ansible_ssh_port }}"
2
wait_for:
3
- port: "{{ ansible_port }}"
+ port: "{{ ansible_ssh_port }}"
4
state: "started"
5
host: "{{ inventory_hostname }}"
6
connect_timeout: "5"
@@ -25,5 +25,5 @@
25
26
- name: Set SSH port to the defined fallback
27
set_fact:
28
- ansible_port: "{{ fallback_ssh_port }}"
+ ansible_ssh_port: "{{ fallback_ssh_port }}"
29
when: ssh_port_default.state is defined
0 commit comments