fix local action

master
Michael Wilson 3 years ago
parent c09e37eb49
commit 366374bfea
  1. 5
      hetzner/autoinstall/tasks/unlock.yml

@ -11,9 +11,8 @@
delegate_to: localhost delegate_to: localhost
- name: test ssh connection with {{ ansible_user }} - name: test ssh connection with {{ ansible_user }}
local_action: local_action: |
module: shell ansible.builtin.shell
command: |
ssh -p{{ ansible_ssh_port|default(22) }} \ ssh -p{{ ansible_ssh_port|default(22) }} \
-i {{ ansible_ssh_private_key_file }} \ -i {{ ansible_ssh_private_key_file }} \
-oStrictHostkeyChecking=no \ -oStrictHostkeyChecking=no \

Loading…
Cancel
Save