Sorry my previous mail is not clear (i am writing from a mobile phone).

It's either one of these two problems:

- you may be using an old ansible version (less than 2.2), if that's the
case try to update and run the playbook
- the 0.4.1 release of the generator role may have a bug that you are
encountering, try to downgrade and run the playbook

Let me know your findings

Fed

Il mar 14 mar 2017, 20:48 Federico Capoano <[email protected]> ha
scritto:

> Which version of ansible are you using?
>
> It may be a bug introduced with the latest version.
> You could help me verify this by installing the slightly less recent 0.4
> version and trying to run the playbook again:
>
> ansible-galaxy install --force openwisp.openwisp2-imagegenerator,0.4
>
> Il mar 14 mar 2017, 20:03 Alvaro Mendez <[email protected]> ha
> scritto:
>
> Hi guys,
>
> Trying to install ansible image-generator i have this error:
>
>
> TASK [openwisp.openwisp2-imagegenerator : include]
> *****************************
> task path:
> /etc/ansible/roles/openwisp.openwisp2-imagegenerator/tasks/main.yml:14
> included:
> /etc/ansible/roles/openwisp.openwisp2-imagegenerator/tasks/2-compile.yml
> for 132.148.88.35
>
> TASK [openwisp.openwisp2-imagegenerator : Update base git repo]
> ****************
> task path:
> /etc/ansible/roles/openwisp.openwisp2-imagegenerator/tasks/2-compile.yml:1
> fatal: [132.148.88.35]: FAILED! => {"failed": true, "msg": "ERROR! The
> conditional check 'recompile' failed. The error was: ERROR! recursive loop
> detected in template string: {{ recompile|default(false) }}\n\nThe error
> appears to have been in
> '/etc/ansible/roles/openwisp.openwisp2-imagegenerator/tasks/main.yml': line
> 14, column 3, but may\nbe elsewhere in the file depending on the exact
> syntax problem.\n\nThe offending line appears to be:\n\n# or if recompile
> == true\n- include: 2-compile.yml\n  ^ here\n"}
>
> PLAY RECAP
> *********************************************************************
> 132.148.88.35              : ok=10   changed=4    unreachable=0    failed=1
>
> sound like some you know?
>
> As usual thanks in advance for your time.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to