Use extracted run next playbook.
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Include container variables
|
- name: Include container variables
|
||||||
include_vars: vars/hostinger.yaml
|
include_vars: vars/hostinger.yaml
|
||||||
include_vars: vars/semaphore-token.yaml
|
|
||||||
|
|
||||||
- name: Register date
|
- name: Register date
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
@@ -36,12 +35,7 @@
|
|||||||
containers: containers
|
containers: containers
|
||||||
date: ansible_facts.date
|
date: ansible_facts.date
|
||||||
|
|
||||||
- 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: minisforum
|
||||||
status_code: 204
|
|
||||||
headers:
|
|
||||||
Content-Type: application/json
|
|
||||||
Authorization: Bearer "{{ token }}"
|
|
||||||
run: minisforum
|
|
||||||
Reference in New Issue
Block a user