# CoreOS setup

**URL:** <https://forum.ansible.com/t/coreos-setup/18980>\
**Category:** Ansible Project\
**Created:** [August 10, 2015, 1:15pm UTC](https://forum.ansible.com/t/coreos-setup/18980 "2015-08-10T13:15:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jasna\_Bencic](https://avatars.discourse-cdn.com/v4/letter/j/7993a0/32.png) [@Jasna\_Bencic](https://forum.ansible.com/u/Jasna_Bencic)\
**Post date:** [August 10, 2015, 1:15pm UTC](https://forum.ansible.com/t/coreos-setup/18980/1 "2015-08-10T13:15:11Z")

</div>

Recently I had a chance to work with CoreOS and have tried to set Ansible with it but couldn’t. I’ve been using following tutorial: [https://coreos.com/blog/managing-coreos-with-ansible/](https://coreos.com/blog/managing-coreos-with-ansible/)

I have created a new inventory in Tower which has following settings:  
ansible\_python\_interpreter: “PATH=/root/bin:$PATH python”  
ansible\_ssh\_user: root  
core-01: [server.name.com](http://server.name.com)

I have even tried to use it with core user and every time I got an error where it says that python command is not recognized. After that I have symlinked python from one of the pre-installed docker images on CoreOS and I got a following error:  
“BECOME-SUCCESS-ecytrcabjjiwdtciwdoidmavgkkwkida python: error while loading shared libraries: [libpython2.7.so](http://libpython2.7.so)” … tried to symlink library but that didn’t work…

You probably have a better insight how could I set up Ansible to work with CoreOS server. Nothing I have found on the Internet worked for me so far.

Any additional insight and help from your side would be appreciated.

Thanks and regards,

Jasna

---

<div class="post-metadata">

**Author:** ![Greg\_DeKoenigsberg1](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Post date:** [August 10, 2015, 4:59pm UTC](https://forum.ansible.com/t/coreos-setup/18980/2 "2015-08-10T16:59:03Z")

</div>

Jasna,

I presume you're following the blog instructions? If so, you're using  
code from a Github repo that's used for bootstrapping CoreOS properly  
to use Ansible:

[https://github.com/defunctzombie/coreos-ansible-example](https://github.com/defunctzombie/coreos-ansible-example)

The issue you're likely running into is not an Ansible issue per se,  
but rather an issue of getting the proper Python dependencies  
bootstrapped within CoreOS, which does not have Python installed by  
default. I'd recommend that you follow up with folks in the CoreOS  
community, and perhaps the maintainer of the coreos-ansible-example  
repo.

Some other folks on the list may have some tips as well for getting  
Python running properly in CoreOS.

--g

---

<div class="post-metadata">

**Author:** ![Greg\_DeKoenigsberg1](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Post date:** [August 10, 2015, 5:00pm UTC](https://forum.ansible.com/t/coreos-setup/18980/3 "2015-08-10T17:00:31Z")

</div>

Also, this is a useful introduction on what you're trying to  
accomplish, and how:

[https://github.com/defunctzombie/coreos-ansible-example/blob/master/post.md](https://github.com/defunctzombie/coreos-ansible-example/blob/master/post.md)

--g
