Closed yakimant closed 1 year ago
If file didn't exist it also fails:
fatal: [store-01.ac-cn-hongkong-c.shards.test]: FAILED! => {}
MSG:
The conditional check 'key_generation.skipped and nim_waku_node_key is not defined
' failed. The error was: error while evaluating conditional (key_generation.skipped and nim_waku_node_key is not defined
): 'dict object' has no attribute 'skipped'. 'dict object' has no attribute 'skipped'
The error appears to be in '/Users/status/work/infra-role-nim-waku/tasks/nodekey.yml': line 39, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Extract the node key from file
^ here
Exmplae:
Load is skipped wrongly, because generation is skipped. Maybe it should be the opposite? If generation is skipped - load from file.
https://github.com/status-im/infra-role-nim-waku/blob/75fa7e483cacccb482c99afddc7de3c25fb8a1fc/tasks/nodekey.yml#L31-L37