diff --git a/run-next.yaml b/run-next.yaml new file mode 100644 index 0000000..65f4b9d --- /dev/null +++ b/run-next.yaml @@ -0,0 +1,19 @@ +--- +# This playbook starts the next semaphore integration +- name: Run next playbook + hosts: all + gather_facts: false + + tasks: + - name: Include token + include_vars: vars/semaphore-token.yaml + + - name: Run next playbook + ansible.builtin.uri: + url: http://ansible.lan/api/integrations/ei0dtntvuz54ot3s + method: GET + status_code: 204 + headers: + Content-Type: application/json + Authorization: Bearer "{{ token }}" + run: "{{ to_do }}" \ No newline at end of file