1158
This commit is contained in:
@@ -1167,7 +1167,8 @@
|
|||||||
sshpass -f "{{ dev2_passfile_used }}" scp \
|
sshpass -f "{{ dev2_passfile_used }}" scp \
|
||||||
-P "$PORT" \
|
-P "$PORT" \
|
||||||
-o StrictHostKeyChecking=no -o PubkeyAuthentication=no \
|
-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:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
register: scp_push
|
register: scp_push
|
||||||
|
|||||||
Reference in New Issue
Block a user