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

When I run this playbook I get below error

<iframe src="https://pastebin.com/embed_iframe/BVRZKc5K"; 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/47b62adb-87ae-451c-b077-3cfeff5be26en%40googlegroups.com.

Reply via email to