Why is validate_certs not Working with Packages?

Solution Verified - Updated -


  • Need to install packages from our central YUM repository without verifying the SSL certificate. The Ansible task looks like the following (with validate_certs: no):
- name: install latest apple and mango packages
    name: "{{ item }}"
    state: latest
    validate_certs: no
    - apple
    - mango


  • Red Hat Ansible Engine 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In