[go: up one dir, main page]

Skip to content

Installation fails with "Template error while templating string: no filter named 'search'"

Hi I have tried on two different installation attempts, on two different user OS profiles, with the same error (below) on MacOS Mojave 10.14.6. Has anyone experienced the same issue yet? Or able to suggest a work around?

`TASK [consensus.aegir : Set Aegir working-copy in debconf database.] *********** fatal: [default]: FAILED! => {"msg": "The conditional check '(aegir_working_copy is defined) and not (aegir_working_copy_debconf.stdout|search(aegir_working_copy))' failed. The error was: template error while templating string: no filter named 'search'. String: {% if (aegir_working_copy is defined) and not (aegir_working_copy_debconf.stdout|search(aegir_working_copy)) %} True {% else %} False {% endif %}\n\nThe error appears to be in '/vagrant/ansible/roles/consensus.aegir/tasks/deb.yml': line 128, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Set Aegir working-copy in debconf database.\n ^ here\n"}

PLAY RECAP ********************************************************************* default : ok=109 changed=42 unreachable=0 failed=1 skipped=75 rescued=0 ignored=0

Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.`

Edited by Colan Schwartz