X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tasks%2Fkong-app.yml;h=975e2cdffb99458c51f75f5a98fb3accc53b89d1;hb=2e423637ee780bd273094ad52e49906100724d08;hp=bff2f46dc06658d05f71c7a43f5a9a0e0595ba9f;hpb=507bb99c0f6c79d5257d293a5eda6bbd3e34caaf;p=github%2Ffretlink%2Fansible-kong-app.git diff --git a/tasks/kong-app.yml b/tasks/kong-app.yml index bff2f46..975e2cd 100644 --- a/tasks/kong-app.yml +++ b/tasks/kong-app.yml @@ -1,3 +1,7 @@ +- name: Upstream Creation + import_tasks: upstream.yml + when: service.upstream is defined + - name: Check if service exists uri: url: "{{ server.kong_app_admin_url }}/services/{{ service.name }}"