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 b4c64c4 commit 1dca6bcCopy full SHA for 1dca6bc
ansible/fatimage.yml
@@ -10,6 +10,16 @@
10
- name: Report inventory groups
11
ansible.builtin.debug:
12
var: group_names
13
+ - name: Report ssh command to connect
14
+ ansible.builtin.debug:
15
+ msg: >
16
+ connect to builder machine using:
17
+ ssh {% if ansible_ssh_port | default(false) %}-p {{ ansible_ssh_port }}{% endif %}
18
+ {% if ansible_ssh_private_key_file | default(false) %} -i {{ ansible_ssh_private_key_file }}{% endif %}
19
+ {{ ansible_ssh_common_args | default('') }}
20
+ {{ ansible_ssh_extra_args | default('') }}
21
+ -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null
22
+ {{ ansible_user }}@{{ ansible_host }}
23
24
- name: Run pre.yml hook
25
vars:
0 commit comments