Thank everyone for the help.    Once i lined up the - correctly it worked.  
That was a nice trick to learn.


          relationships:
            storageServers:
              data:
              - type: storageServer
                id: "PureDisk:{{mediaserver}}.{{domain}}"



On Saturday, December 14, 2019 at 11:48:54 AM UTC-6, Nicholas Britton wrote:
>
> Okay I can try that. Looks like you added a . In front of each line but 
> the last one that needs to be a list?  Did I see that correct?
>
> On Sat, Dec 14, 2019, 9:41 AM Vladimir Botka <[email protected]> wrote:
>
>> 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
>>
>> Indentation is wrong. (Disregard my previous email.)
>>
>> > > >               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/251465de-272f-4b9b-87b0-5aef037b446d%40googlegroups.com.

Reply via email to