Re: [ansible-project] Ansible not accepting When condition

2020-07-04 Thread T. JENISHA
Thankyou it was insightful to learn about other tools Best Regards Jenisha T Whatsapp: +91 07598087866 On Thu, 2 Jul 2020 at 20:35, Dick Visser wrote: > > https://docs.ansible.com/ansible/latest/community/other_tools_and_programs.html > > > On Thu, 2 Jul 2020 at 16:35, T. JENISHA wrote: >

Re: [ansible-project] Ansible not accepting When condition

2020-07-02 Thread Vladimir Botka
On Thu, 2 Jul 2020 20:05:17 +0530 "T. JENISHA" wrote: > Is there any syntax highlighter recommended for Ansible There is "YAML mode" available in Emacs (not perfect unfortunately) https://www.emacswiki.org/emacs/YamlMode "HighlightIndentation" is useful too

Re: [ansible-project] Ansible not accepting When condition

2020-07-02 Thread Dick Visser
https://docs.ansible.com/ansible/latest/community/other_tools_and_programs.html On Thu, 2 Jul 2020 at 16:35, T. JENISHA wrote: > Thankyou I fixed it. Is there any syntax highlighter recommended for > Ansible > > > Best Regards > Jenisha T > Whatsapp: +91 07598087866 > > > > > > On Thu, 2 Jul

Re: [ansible-project] Ansible not accepting When condition

2020-07-02 Thread T. JENISHA
Thankyou I fixed it. Is there any syntax highlighter recommended for Ansible Best Regards Jenisha T Whatsapp: +91 07598087866 On Thu, 2 Jul 2020 at 19:27, Srinivas Naram wrote: > when is indented too much. Put it at the level where module name is > mentioned. > > --- > - name: using

Re: [ansible-project] Ansible not accepting When condition

2020-07-02 Thread Srinivas Naram
when is indented too much. Put it at the level where module name is mentioned. --- - name: using multiple conditions gather_facts: yes hosts: localhost connection: local tasks: - package: name: httpd state: installed when: - ansible_distribution ==

[ansible-project] Ansible not accepting When condition

2020-07-02 Thread Jenisha T
Hi everyone, Below is my playbook --- - name: using multiple conditions gather_facts: yes hosts: localhost connection: local tasks: - package: name: httpd state: installed when: - ansible_distribution == "RedHat" - ansible_memfree_mb > 1512