---
- name: Add proxy in /etc/yum.conf
  lineinfile:
    dest: /etc/yum.conf
    regexp: "^proxy=.*"
    line: "proxy={{ proxy_env[\'http_proxy\'] }}"
  when: proxy_env['http_proxy']
  tags: proxyenv

---
- name: Add proxy in /etc/yum.conf
  lineinfile:
    dest: /etc/yum.conf
    regexp: "^proxy=.*"
    line: "proxy={{ proxy_env['http_proxy'] }}"
  when: proxy_env['http_proxy']
  tags: proxyenv

Remove unnecessary quote escape for proxy variable
Remove unnecessary quote escape for proxy variable

  * Update yum.yml to remove unnecessary quote escape
