Skip to content

Commit

Permalink
Do not pull too many images in parallel (#1711)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Aug 4, 2023
1 parent 898f225 commit 374e47e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ansible/manager-part-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@
loop: "{{ images_traefik_netbox }}"
register: async_results

- name: Pull manager images
community.docker.docker_image:
name: "{{ item }}"
source: pull
async: 600
poll: 0
loop: "{{ images_manager }}"

- name: Check pull status of traefik & netbox images
ansible.builtin.async_status:
jid: "{{ async_result_item.ansible_job_id }}"
Expand All @@ -93,6 +85,14 @@
until: async_poll_results.finished
retries: 30

- name: Pull manager images
community.docker.docker_image:
name: "{{ item }}"
source: pull
async: 600
poll: 0
loop: "{{ images_manager }}"

- name: Apply role traefik & netbox
hosts: testbed-manager.testbed.osism.xyz
connection: local
Expand Down

0 comments on commit 374e47e

Please sign in to comment.