# Ansible installation did not create /etc/ansible directory

**URL:** <https://forum.ansible.com/t/ansible-installation-did-not-create-etc-ansible-directory/8368>\
**Category:** Get Help\
**Tags:** pip, rhel\
**Created:** [September 9, 2024, 3:03pm UTC](https://forum.ansible.com/t/ansible-installation-did-not-create-etc-ansible-directory/8368 "2024-09-09T15:03:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![desertdenizen](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@desertdenizen](https://forum.ansible.com/u/desertdenizen)\
**Post date:** [September 9, 2024, 3:03pm UTC](https://forum.ansible.com/t/ansible-installation-did-not-create-etc-ansible-directory/8368/1 "2024-09-09T15:03:12Z")

</div>

I am running rhel 8.9 server. I installed ansible-4.10 as my username this morning. Everything seems to have installed correctly, but I don’t have an /etc/ansible directory.  
I used the command 'pip3 install --user ansible.  
Does anyone see anything I did wrong? All comments, suggestions, and corrections are welcome.

---

<div class="post-metadata">

**Author:** ![Denney-tech](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/denney-tech/32/1556_2.png) [@Denney-tech](https://forum.ansible.com/u/Denney-tech)\
**Post date:** [September 9, 2024, 3:16pm UTC](https://forum.ansible.com/t/ansible-installation-did-not-create-etc-ansible-directory/8368/2 "2024-09-09T15:16:41Z")

</div>

The `/etc` directory requires root/sudo permissions to create and modify files/directories, so it’s expected that pip wouldn’t touch it. The only time that `/etc/ansible` might be automatically created on RHEL 8 is with `dnf install ansible-core`. Since you used pip, you didn’t do anything wrong and shouldn’t expect the `/etc/ansible` directory to exist.

If you will only be running Ansible as your own user, you don’t necessarily need that directory anyway. Everything you might need to configure can also be done in your userspace.

---

<div class="post-metadata">

**Author:** ![desertdenizen](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@desertdenizen](https://forum.ansible.com/u/desertdenizen)\
**Post date:** [September 9, 2024, 3:42pm UTC](https://forum.ansible.com/t/ansible-installation-did-not-create-etc-ansible-directory/8368/3 "2024-09-09T15:42:12Z")

</div>

Thank you very much, Caleb! This helps me greatly!
