Use the extracted run-next playbook.
This commit is contained in:
13
nas.yaml
13
nas.yaml
@@ -56,12 +56,7 @@
|
|||||||
state: unmounted
|
state: unmounted
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Run next playbook
|
- name: Include the run next playbook
|
||||||
ansible.builtin.uri:
|
import_playbook: run-next.yaml
|
||||||
url: http://ansible.lan/api/integrations/ei0dtntvuz54ot3s
|
vars:
|
||||||
method: GET
|
to_do: shutdown
|
||||||
status_code: 204
|
|
||||||
headers:
|
|
||||||
Content-Type: application/json
|
|
||||||
Authorization: Bearer "{{ token }}"
|
|
||||||
run: shutdown
|
|
||||||
|
|||||||
Reference in New Issue
Block a user