0839
This commit is contained in:
@@ -589,7 +589,6 @@
|
||||
set -e
|
||||
PORT="{{ _local_port }}"
|
||||
sshpass -f basicpass2 ssh \
|
||||
-o AddressFamily=inet \
|
||||
-o StrictHostKeyChecking=no -o PubkeyAuthentication=no \
|
||||
-o PreferredAuthentications=password -o NumberOfPasswordPrompts=1 \
|
||||
-o ConnectTimeout=30 \
|
||||
@@ -1046,13 +1045,12 @@
|
||||
-o PreferredAuthentications=password -o NumberOfPasswordPrompts=1 \
|
||||
-o ConnectTimeout=30 \
|
||||
-p "$PORT" "{{ dev2_ssh_user }}@${HOST}" \
|
||||
"wget -O '{{ dev2_image_path }}' 'https://cloud.ikeja.co.za/firmwares/uboot/{{ bootenv_filename }}'"
|
||||
"curl -L --fail --silent --show-error -k -o '{{ dev2_image_path }}' 'https://cloud.ikeja.co.za/firmwares/uboot/{{ bootenv_filename }}'"
|
||||
args:
|
||||
executable: /bin/bash
|
||||
register: scp_bootenv
|
||||
changed_when: true
|
||||
|
||||
|
||||
- name: Compute sha256 of bootenv image on DEV2 after copy (or if already present)
|
||||
when: local_img.stat.exists and dev2_passfile_used != "NONE" and not (_blocked | default(false))
|
||||
delegate_to: localhost
|
||||
|
||||
Reference in New Issue
Block a user