# Minimal ansible 2.10.x installation

**URL:** <https://forum.ansible.com/t/minimal-ansible-2-10-x-installation/33958>\
**Category:** Ansible Project\
**Created:** [October 5, 2020, 8:45am UTC](https://forum.ansible.com/t/minimal-ansible-2-10-x-installation/33958 "2020-10-05T08:45:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anand\_Buddhdev1](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@Anand\_Buddhdev1](https://forum.ansible.com/u/Anand_Buddhdev1)\
**Post date:** [October 5, 2020, 8:45am UTC](https://forum.ansible.com/t/minimal-ansible-2-10-x-installation/33958/1 "2020-10-05T08:45:16Z")

</div>

Hi folks,

Now that ansible’s code has been reorganised, I have a question about how to do a minimal installation. I am interested in just these 3 things:

1. ansible-base
2. ansible.posix collection
3. community collection

I can “pip install” ansible-base. However, is there any way I can have wheels of the 2 collections and “pip install” them easily across several hundred servers (for running ansible using the “local” connection plugin)?

Anand

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [October 6, 2020, 6:35am UTC](https://forum.ansible.com/t/minimal-ansible-2-10-x-installation/33958/2 "2020-10-06T06:35:45Z")

</div>

Hi Anand,

> Now that ansible's code has been reorganised, I have a question about  
> how to do a minimal installation. I am interested in just these 3  
> things:
> 
> 1. ansible-base  
> 2. ansible.posix collection  
> 3. community collection

do you mean a specific community collection, or all of them, or all  
included in Ansible 2.10?

See [https://galaxy.ansible.com/community](https://galaxy.ansible.com/community) for a list of all community  
collections, and  
[https://github.com/ansible-community/ansible-build-data/blob/main/2.10/ansible.in#L20-L36](https://github.com/ansible-community/ansible-build-data/blob/main/2.10/ansible.in#L20-L36)  
for a list of them included in Ansible 2.10.

> I can "pip install" ansible-base. However, is there any way I can  
> have wheels of the 2 collections and "pip install" them easily across  
> several hundred servers (for running ansible using the "local"  
> connection plugin)?

There is not (yet). While individual collections could be packaged as  
Python packages, none I'm aware of have been packaged this way yet.

Right now, you could use `ansible-galaxy collection install` to install  
them (together with the collections they depend on). If you want to  
install them system-wide, you have to make sure to specify a  
--collections-path which can be found by all users (f.ex. the place  
where Ansible 2.10 installs the collections at).

Cheers,  
Felix

---

<div class="post-metadata">

**Author:** ![Alex\_Cernat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Post date:** [October 6, 2020, 5:05pm UTC](https://forum.ansible.com/t/minimal-ansible-2-10-x-installation/33958/3 "2020-10-06T17:05:47Z")

</div>

This is the minimal I’m using:

Collection Version

* * *

ansible.netcommon 1.3.0  
ansible.posix 1.1.1  
**community.crypto 1.1.1**  
**community.general 1.2.0**  
community.kubernetes 1.0.0  
**community.mysql 1.0.2**  
google.cloud 1.0.0

With bold is what I’ve explicitly installed, the rest are probably dependencies of community.general, which in present is a “big ball of mud”, hope that any exotic modules will migrate into their own space.

Pe marți, 6 octombrie 2020, la 09:36:28 UTC+3, Felix Fontein a scris:
