Why ansible uses "/etc/ansible/ansible.cfg" instead of "/usr/share/ceph-ansible/ansible.cfg" during ceph deployment

Solution Verified - Updated -

Issue

  • During ceph deployment , ansible always uses "/etc/ansible/ansible.cfg" instead of "/usr/share/ceph-ansible/ansible.cfg" .
  • error messages "msg": "module (config_template) is missing interpreter line"" would be shown.

Environment

  • ansible 2.8.16
  • python version 3.6.8
  • rhceph-4-dashboard-rhel8:4-13
  • Red Hat Enterprise Linux release 8.2 (Ootpa)

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content