Commit fbdccd3
make custom_hiera enablement compatible with Ansible 2.19+
This fixes the following error:
[ERROR]: Task failed: Conditional result (False) was derived from value of type 'NoneType' at '<unknown>'. Conditionals must have a boolean result.
Task failed.
Origin: /home/evgeni/Devel/theforeman/forklift/roles/foreman_installer/tasks/main.yml:10:3
8 when: (foreman_installer_module_prs|length > 0) or (foreman_installer_module_branches|length > 0)
9
10 - include_tasks: custom_hiera.yml
^ column 3
<<< caused by >>>
Conditional result (False) was derived from value of type 'NoneType' at '<unknown>'. Conditionals must have a boolean result.
Origin: /home/evgeni/Devel/theforeman/forklift/roles/foreman_installer/tasks/main.yml:11:9
9
10 - include_tasks: custom_hiera.yml
11 when: foreman_installer_custom_hiera
^ column 9
Broken conditionals can be temporarily allowed with the `ALLOW_BROKEN_CONDITIONALS` configuration option.1 parent d324399 commit fbdccd3
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments