indentation for `when` is off. It should be aligned to yum

On Thu, Jun 25, 2020 at 2:59 PM Jenisha T <[email protected]> wrote:

> My Playbook:
> ---
> - name: test
>   gather_facts: yes
>   hosts: localhost
>   connection: local
>   tasks:
>     - name: install httpd
>       yum:
>         name: httpd
>         state: present
>         when:
>           - ansible_distribution == "RedHat"
>           - ansible_memfree_mb > 1512
>
>
> I get below error
> <iframe src="https://pastebin.com/embed_iframe/ZA6TXeE5";
> style="border:none;width:100%"></iframe>
>
> --
> 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/9755b1d6-e340-46f0-97f0-2e2d434ef853n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/9755b1d6-e340-46f0-97f0-2e2d434ef853n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Thanks,
Abhijeet Kasurde

-- 
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/CAFwWkHocijE3naLbPrKVcr8Mt%2BbS8FhXzGPrWdRm%3D8dxkPMHag%40mail.gmail.com.

Reply via email to