We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dc13c70 + 0561acd commit a4c37f3Copy full SHA for a4c37f3
tasks/assert.yml
@@ -20,3 +20,12 @@
20
- runner_org | bool == True or runner_org == False
21
fail_msg: "runner_org should be a boolean value"
22
run_once: true
23
+
24
+- name: Check github_repo variable (RUN ONCE)
25
+ ansible.builtin.assert:
26
+ that:
27
+ - github_repo is defined
28
+ - github_repo | length > 0
29
+ fail_msg: "github_repo was not found or is using an invalid format."
30
+ run_once: true
31
+ when: not runner_org
0 commit comments