Add wait time after harbor restart

main
MIchael Haehnel 2 years ago
parent 0ef11c310f
commit c8674c60dd
No known key found for this signature in database
GPG Key ID: D2FA233B52AEC75C

@ -99,11 +99,16 @@
host: "{{ stage_server_ip }}"
search_regex: OpenSSH
- name: "Smardigo Patchday: start services"
community.docker.docker_compose_v2:
project_src: "{{ item | dirname }}"
state: present
loop: "{{ docker_compose_services.files | map(attribute='path') }}"
- name: "Wait period for harbor restart"
ansible.builtin.wait_for:
timeout: 60
delegate_to: localhost
# - name: "Smardigo Patchday: start services"
# community.docker.docker_compose_v2:
# project_src: "{{ item | dirname }}"
# state: present
# loop: "{{ docker_compose_services.files | map(attribute='path') }}"
- hosts: elastic
serial: 1

Loading…
Cancel
Save