@Jonathan Lozada De La Matta ... I am not using Ansible lint..... I 
specified only one role there that to be in correct manner. 

On Monday, December 3, 2018 at 4:48:39 AM UTC-8, Jonathan Lozada De La 
Matta wrote:
>
> Are you sing ansible lint? the issue might be spacing in your roles.
>
> On Mon, Dec 3, 2018 at 7:23 AM VJ49 <[email protected] <javascript:>> 
> wrote:
>
>>
>> HI, 
>>       I am familiar with this ansible coding. Right now, ansible updated 
>> to 2.7. While running/checking the syntax of a code. I am getting error as 
>> a malformed block was encountered while loading a block.
>> I found that problem is with ansible keyword "roles". In ansible 2.7, 
>> roles syntax changed partially. I am posting my code here. Can anyone help 
>> me to resolve this issue...
>>
>>
>> Code:
>> ---
>> - name:  Deploy project
>>   hosts: localhost
>>   roles:
>>     - san
>>   vars_files:
>>     - /var/lib/project-admin/answerfile.yml
>>     - /var/lib/project/answerfile.yml
>>
>> The same code is working fine with ansible 2.0.0 version. 
>> Thank you,
>>
>> Regards
>> Vuppala Jagadeesh
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/56788914-209f-42fc-a76f-9441b7a30438%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/56788914-209f-42fc-a76f-9441b7a30438%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
>
> Jonathan lozada de la matta
>
> AUTOMATION PRACTICE
>
>
>  
>
>

-- 
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/a00c9579-8556-457c-893b-153303a7b1eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to