Hi Nicholas,

On Sat, 14 Dec 2019 05:34:22 -0800 (PST)
Nicholas Britton <[email protected]> wrote:

> When i try that i get a syntax error.    
> 
> fatal: [127.0.0.1]: FAILED! => {
>     "reason": "Syntax Error while loading YAML.\n

Literal style indicator of the block is missing "|"
https://yaml.org/spec/1.2/spec.html#id2795688

Try:
                   body: |

instead of

> > >               body: 
> > >                 data: 
> > >                   type: diskPool 
> > >                   attributes: 
> > >                     name: server_dpm 
> > >                     diskVolumes: 
> > >                       [name: PureDiskVolume] 
> > >                     maximumIoStreams: 
> > >                       limitIoStreams: true 
> > >                       streamsPerVolume: 75 
> > >                  relationships: 
> > >                     storageServers: 
> > >                       data: 
> > >                         type: storageServer 
> > >                         id: 'PureDisk:server.domain' 

Cheers,

        -vlado

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20191214161934.5d17ca85%40gmail.com.

Attachment: pgpra2FriCvA9.pgp
Description: OpenPGP digital signature

Reply via email to