Skip to content

Commit

Permalink
wait for api later
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni authored and archanaserver committed Nov 5, 2024
1 parent a36e0ac commit c0a052c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions roles/pulp/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,6 @@
[Install]
WantedBy=default.target
- name: Wait for Pulp API service to be accessible
ansible.builtin.wait_for:
host: "{{ ansible_hostname }}"
port: 24817
timeout: 300

- name: Deploy Pulp Worker Container
containers.podman.podman_container:
name: "{{ pulp_worker_container_name }}"
Expand Down Expand Up @@ -132,6 +126,12 @@
name: "{{ pulp_api_container_name }}"
command: pulpcore-manager migrate --noinput

- name: Wait for Pulp API service to be accessible
ansible.builtin.wait_for:
host: "{{ ansible_hostname }}"
port: 24817
timeout: 300

- name: Start the Pulp Content services
ansible.builtin.systemd:
name: pulp-content
Expand Down

0 comments on commit c0a052c

Please sign in to comment.