1158
This commit is contained in:
@@ -1167,7 +1167,8 @@
|
||||
sshpass -f "{{ dev2_passfile_used }}" scp \
|
||||
-P "$PORT" \
|
||||
-o StrictHostKeyChecking=no -o PubkeyAuthentication=no \
|
||||
"{{ image_filename }}" "{{ dev2_ssh_user }}@${HOST}:{{ dev2_ssh_user == 'root' | ternary('/', '') }}{{ dev2_image_dir }}/"
|
||||
"{{ image_filename }}" "{{ dev2_ssh_user }}@${HOST}:{{ (dev2_ssh_user == 'root') | ternary('/', '') }}{{ dev2_image_dir }}/{{ image_filename }}"
|
||||
|
||||
args:
|
||||
executable: /bin/bash
|
||||
register: scp_push
|
||||
|
||||
Reference in New Issue
Block a user