*now here is the error I am getting; anyother ideas The error appears to
have been in '/etc/ansible/playbooks/deployment.yml': line 2, column 3, but
maybe elsewhere in the file depending on the exact syntax problem.*
The offending line appears to be:
- local_action: curl --basic -u admin:admin -d '"name:ms3-test-app" ,
"servers:local$d50bdc24-ff04-4327-9284-7bb708e21c25" ,
"applications:local$6444f208-f78c-4e1b-8b1e-4542f511f503"' --header
'Content-Type:application/json'
"http://52.73.56.141:8080/mmc-console-3.6.2/api/deployments"
^ here
We could be wrong, but this one looks like it might be an issue with
unbalanced quotes. If starting a value with a quote, make sure the
line ends with the same set of quotes. For instance this arbitrary
example:
foo: "bad" "wolf"
Could be written as:
foo: '"bad" "wolf"'
On Sunday, July 31, 2016 at 10:07:52 AM UTC-4, Kai Stian Olstad wrote:
>
> On 31. juli 2016 15:14, GBANE FETIGUE wrote:
> > I still have the same issue any other ideas ?
>
> Yes, because you haven't done as I told you in my mail. You need to
> remove the spaces after the colons.
>
> ": " will make the yaml parser fail.
>
> --
> Kai Stian Olstad
>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/8ab43e3c-b597-40c3-af31-14855e535f69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.