We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf8704 commit 08271e0Copy full SHA for 08271e0
tasks/main.yml
@@ -1,3 +1,3 @@
1
---
2
-- include: './variable-check.yml'
3
-- include: './create-user.yml'
+- include_tasks: './variable-check.yml'
+- include_tasks: './create-user.yml'
tasks/variable-check.yml
@@ -4,9 +4,9 @@
4
- name: "Verify that required string variables are defined"
5
ansible.builtin.assert:
6
that:
7
- - "{{ ahs_var }} is defined"
8
- - "{{ ahs_var }} | length > 0"
9
- - "{{ ahs_var }} != None"
+ - "ahs_var is defined"
+ - "ahs_var | length > 0"
+ - "ahs_var != None"
10
fail_msg: "{{ ahs_var }} needs to be set for the role to work"
11
success_msg: "Required variable {{ ahs_var }} is defined"
12
loop_control:
0 commit comments