19 lines
513 B
YAML
19 lines
513 B
YAML
---
|
|
# 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.fam-steinle.de/api/integrations/ei0dtntvuz54ot3s
|
|
method: GET
|
|
status_code: 204
|
|
headers:
|
|
Content-Type: application/json
|
|
Authorization: Bearer "{{ token }}"
|
|
run: "{{ to_do }}" |