# The download gets stuck during execution.

**URL:** <https://forum.ansible.com/t/the-download-gets-stuck-during-execution/44268>\
**Category:** Get Help\
**Tags:** kubernetes, ansible\
**Created:** [August 10, 2025, 3:55pm UTC](https://forum.ansible.com/t/the-download-gets-stuck-during-execution/44268 "2025-08-10T15:55:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pptfz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pptfz/32/8536_2.png) [@pptfz](https://forum.ansible.com/u/pptfz)\
**Post date:** [August 10, 2025, 3:55pm UTC](https://forum.ansible.com/t/the-download-gets-stuck-during-execution/44268/1 "2025-08-10T15:55:04Z")

</div>

System version

```auto
cat /etc/redhat-release 
Rocky Linux release 10.0 (Red Quartz)

```

ansible version

```auto
 ansible --version
ansible [core 2.18.7]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.12.9 (main, Jun 20 2025, 00:00:00) [GCC 14.2.1 20250110 (Red Hat 14.2.1-7)] (/usr/bin/python3)
  jinja version = 3.1.6
  libyaml = True

```

Perform the operation

```auto
ansible all -m shell -a '\
CONTAINERD_VERSION=2.1.4; \
ARCH=$(uname -m); \
if ["$ARCH" = "x86_64"]; then ARCHITECTURE=amd64; \
elif ["$ARCH" = "aarch64"]; then ARCHITECTURE=arm64; \
else echo "Unsupported architecture: $ARCH" && exit 1; fi; \
curl -L -o containerd-${CONTAINERD_VERSION}-linux-${ARCHITECTURE}.tar.gz https://github.com/containerd/containerd/releases/download/v${CONTAINERD_VERSION}/containerd-${CONTAINERD_VERSION}-linux-${ARCHITECTURE}.tar.gz'
k8s-node01 | CHANGED | rc=0 >>
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 31.6M 100 31.6M 0 0 972k 0 0:00:33 0:00:33 --:--:-- 3062k
k8s-node02 | CHANGED | rc=0 >>
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 31.6M 100 31.6M 0 0 756k 0 0:00:42 0:00:42 --:--:-- 5806k

It took a very long time to complete the execution.

k8s-master01 | CHANGED | rc=0 >>
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 31.6M 100 31.6M 0 0 50564 0 0:10:56 0:10:56 --:--:-- 6976k

```

When downloading the package on the last machine, it took a long time to execute and seemed to get stuck in the command line.

I would like to ask, is this a problem with my network, or is it because my command was not written correctly?

---

<div class="post-metadata">

**Author:** ![Kevinwincott](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@Kevinwincott](https://forum.ansible.com/u/Kevinwincott)\
**Post date:** [August 12, 2025, 7:58pm UTC](https://forum.ansible.com/t/the-download-gets-stuck-during-execution/44268/2 "2025-08-12T19:58:33Z")

</div>

I would say it was your download speed looking at the averages

---

<div class="post-metadata">

**Author:** ![pptfz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pptfz/32/8536_2.png) [@pptfz](https://forum.ansible.com/u/pptfz)\
**Post date:** [August 13, 2025, 2:18am UTC](https://forum.ansible.com/t/the-download-gets-stuck-during-execution/44268/3 "2025-08-13T02:18:41Z")

</div>

Yes, that’s exactly the case. The issue with my network here is that I can’t access GitHub properly in my area. I need to use a proxy to resolve this, which causes problems with the download. I thought it was because my command wasn’t written correctly. Thank you.

Kevin wincott via Ansible \<[notifications@ansible.discoursemail.com](mailto:notifications@ansible.discoursemail.com)\> 于2025年8月13日周三 04:08写道：
