Skip to content

Conversation

@pk910
Copy link
Member

@pk910 pk910 commented Aug 22, 2025

this PR allows adding external playbooks with relative paths like this:

- name: run_external_tasks
  title: "Test relative include"
  timeout: 30m
  config:
    testFile: ../some_path/test.yaml

relative paths are resolved relative to the parent base directory, which allows nested playbooks with relative paths even from URLs.

eg. if the above playbook is loaded from http://example.com/my_tests/test.yaml, the referenced external_tasks playbook is loaded from http://example.com/some_path/test.yaml (http://example.com/my_tests/../some_path/test.yaml)

@pk910 pk910 changed the title allow relative paths in run_external_tasks, resoving against parent base path/URL allow relative paths in run_external_tasks, resolving against parent base path/URL Aug 22, 2025
@pk910 pk910 merged commit 22153be into master Aug 22, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants