Rocky prechecks - template error while templating string: no filter named 'search'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Invalid
|
Medium
|
Unassigned | ||
Rocky |
Fix Released
|
Medium
|
Radosław Piliszek | ||
Stein |
Fix Committed
|
Medium
|
Radosław Piliszek | ||
Train |
Fix Committed
|
Medium
|
Mark Goddard |
Bug Description
I received the following failed task:
TASK [prechecks : Checking empty passwords in passwords.yml. Run kolla-genpwd if this task fails] *******
fatal: [localhost]: FAILED! => {"msg": "The conditional check 'result.stdout | regex_replace(
While it appears the filters changed in Ansible 2.9 (which I tested on), I also tested using Ansible 2.7.0, 2.8.0 and 2.8.5.
Per the Rocky Quick Start page, it merely states the requirement of Ansible >= 2.4 which coincides with ansible/
Using:
Ubuntu 18.04.4 LTS, 4.15.0-88-generic
Docker: 18.06.1-ce
This was resolved by correcting the virtual environment which was using Ansible 2.9.9 and not 2.8.5, etc. However, the issue still remains that for Rocky and Ansible 2.9+, the above error is exhibited and both the http documents and kolla-ansible prechecks (which verifies if Ansible is 2.4+) are incorrect and need to be corrected.