Basic Ansible

Hello Team,

Does ansible.cfg and /etc/ansible directory created automatically when i install ansible ?

I have installed ansible in virtaul environment. I am not able to locate ansible.cfg or host file.
what i can see in my ansible-config file
config file = None

Thanks
Shubham

“Does ansible.cfg and /etc/ansible directory created automatically when i install ansible ?”
Yes

Hello Team,

Does ansible.cfg and /etc/ansible directory created automatically when i install ansible ?

Not if you use a python virtualenv.

I have installed ansible in virtaul environment. I am not able to locate ansible.cfg or host file.
what i can see in my ansible-config file
config file = None

You need to create those files if you need them.

DEPENDS

If you install via OS package manager, very likely, other installation
methods, probably not.

Thank You, guys.
I have installed ansible using pip.
Tried with python virtual env and without virtual env in both the cases /ansible/hosts or ansible.cfg files not created automatically.

Thanks
Shubham

Keep in mind that those files are defaults and are not needed for ansible to work.
It is very common to use different files in locations that are more easily managed.

Yep.

I want to create a small project in Ansible. Could you suggest any?

My experience:
I am good in network automation and working on compliance monitoring and remediation of network devices using Ansible and AWX tower.
Developed Ansible dynamic inventory script and ansible module.

Yep.

I want to create a small project in Ansible. Could you suggest any?

My experience:
I am good in network automation and working on compliance monitoring and remediation of network devices using Ansible and AWX tower.
Developed Ansible dynamic inventory script and ansible module.

These statements seem to contradict each other. On the one hand you
are not aware of the basic configuration of ansible, yet you also
claim to have developed a dynamic inventory script and an ansible
module.
And then again you want input on a 'small project in Ansible'.
I'm not sure I understand.
If you're looking from inspiration, that depends entirely on what
tasks you want to automate?

Since we moved to the tower and I spend more time on ansible network modules, Now I started revising basic ansible and using it in my machine.

Compliance monitoring of network devices is monotonous work for me because I have done it for Avi, F5, Aruba and cisco CSP that’s why I am looking for something else where i can use my development skills.

Regards,
Shubham S
9096373895