Are you using sudo to execute this? In that case, you may be hitting this bug:
https://github.com/ansible/ansible/issues/5533 There are pull-requests open to address this, which I will be looking to test today. On Thu, Feb 13, 2014 at 1:00 PM, William Hall-BrandFour <[email protected]>wrote: > Similar to this discussion > https://groups.google.com/d/msg/ansible-project/aBE51ToAC7A/QC3jwdPOK4MJ > > I am getting this error: > > failed to parse: SUDO-SUCCESS-ugbdmgqomyttgubummftugavvodrnugl > > I am trying to make use of the password lookup in mysql_user like so > > - name: create and/or update database user > mysql_user: > login_user={{ mysqluser }} > login_password={{ mysqlpassword }} > name={{ databaseuser }} > password={{ lookup('password', '/tmp/passwordfile length=15') }} > append_privs=yes > priv={{ databasename }}.*:SELECT,INSERT,UPDATE,DELETE > > I was previously using a similar play to get a password via an api and > that worked so I know the syntax is correct, its just the introduction of > the password lookup which seems to have broken things. > > Client: Mac OS X 10.6.8 > Server: Debian 7 > > Any ideas? > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
