Commit 9cb39e0
committed
Correct check for writing barbican id to file
Currently gives the error below, as the default field is not being
applied to the varriable.
```
TASK [Write barbican Approle ID to file if requested] *************************************************************************
Monday 30 October 2023 09:57:48 +0000 (0:00:00.075) 0:00:07.517 ********
fatal: [controller01 -> localhost]: FAILED! =>
msg: |-
The conditional check 'stackhpc_write_barbican_role_id_to_file | bool | default(false)' failed. The error was: error while evaluating conditional (stackhpc_write_barbican_role_id_to_file | bool | default(false)): 'stackhpc_write_barbican_role_id_to_file' is undefined
The error appears to be in '/var/lib/home/stackhpc/mattc/src/kayobe-config/etc/kayobe/ansible/vault-deploy-barbican.yml': line 80, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Write barbican Approle ID to file if requested
^ here
```1 parent fdbfbfc commit 9cb39e0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments