diff --git a/tasks/main.yml b/tasks/main.yml index 59ab0dd..63bd9fa 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -56,6 +56,10 @@ - "{{ openldap_bind_host }}:{{ openldap_bind_port }}:389" recreate: "{{ imgbuild is changed }}" +- name: wait for port to become available + wait_for: + port: "{{ openldap_bind_port }}" + - include_tasks: "provider.yml" when: "openldap_provider == True"