title: How to Ignore warnings in ansible
body: <p>I have been trying to ignore a warning while writing playbooks the scenario is i execute this <code>virt-host-validate qemu</code> and it throws up one single warning like as below.</p>
  
  <pre><code>root@n0:~/playbook_promenade# virt-host-validate 
  QEMU: Checking for hardware virtualization : PASS
  QEMU: Checking if device /dev/kvm exists :PASS
  QEMU: Checking if device /dev/kvm is accessible : PASS
  QEMU: Checking if device /dev/vhost-net exists : PASS
  QEMU: Checking if device /dev/net/tun exists : PASS
  QEMU: Checking for cgroup 'memory' controller support : PASS
  QEMU: Checking for cgroup 'memory' controller mount-point : PASS
  QEMU: Checking for cgroup 'cpu' controller support : PASS
  QEMU: Checking for cgroup 'cpu' controller mount-point: PASS
  QEMU: Checking for cgroup 'cpuacct' controller support : PASS
  QEMU: Checking for cgroup 'cpuacct' controller mount-point : PASS
  QEMU: Checking for cgroup 'devices' controller support : PASS
  QEMU: Checking for cgroup 'devices' controller mount-point : PASS
  QEMU: Checking for cgroup 'net_cls' controller support : PASS
  QEMU: Checking for cgroup 'net_cls' controller mount-point : PASS
  QEMU: Checking for cgroup 'blkio' controller support : PASS
  QEMU: Checking for cgroup 'blkio' controller mount-point : PASS
  QEMU: Checking for device assignment IOMMU support  : WARN (No ACPI DMAR table found, IOMMU either disabled in BIOS or not supported by this hardware platform)`
  </code></pre>
  
  <p>The playbook i have written is as follows. </p>
  
  <pre><code>`- hosts: localhost
     sudo: yes
     tasks:
      - name: Check if Host supports Virtualization.
        command: virt-host-validate qemu 
        ignore_errors: yes
        failed_when: false
        changed_when: false
        register: host_status
      - debug:
         msg: "status: {{host_status.stdout}}"`
  </code></pre>
  
  <p>now the worrying part is if there is any other task failing apart from the warn this playbook continues as we are using <code>ignore_errors: yes</code>
  can anyone please guide me how to fix it ?? 
  thanks in advance.</p>