title: What is the difference between two "state" option values, "present" and "installed", available in Ansible's yum module?
body: <p>I have the following task in my ansible playbook:</p>
  
  <pre><code>- name: Install EPEL repo.
    yum:
      name: "{{ epel_repo_url }}"
      state: present
      register: result
      until: '"failed" not in result'
      retries: 5
      delay: 10
  </code></pre>
  
  <p>Another value I can pass to state is "installed".  What is the difference between the two? Some documentation available here: <a href="http://docs.ansible.com/ansible/yum_module.html" rel="noreferrer">http://docs.ansible.com/ansible/yum_module.html</a></p>