Use extracted run next playbook.
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
tasks:
|
||||
- name: Include container variables
|
||||
include_vars: vars/hostinger.yaml
|
||||
include_vars: vars/semaphore-token.yaml
|
||||
|
||||
- name: Register date
|
||||
ansible.builtin.set_fact:
|
||||
@@ -36,12 +35,7 @@
|
||||
containers: containers
|
||||
date: ansible_facts.date
|
||||
|
||||
- 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: minisforum
|
||||
- name: Include the run next playbook
|
||||
import_playbook: run-next.yaml
|
||||
vars:
|
||||
to_do: minisforum
|
||||
Reference in New Issue
Block a user