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 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 On Mon, Aug 10, 2015 at 9:15 AM, Jasna Benčić <[email protected]> wrote: > 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/ > > 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 > > 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" ..... 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 > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/f7fc80d1-c439-418a-9bdc-a22b2dcba9d9%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Greg DeKoenigsberg Ansible Community Guy Find out why SD Times named Ansible their #1 Company to Watch in 2015: http://sdtimes.com/companies-watch-2015/ -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAM1FbhENihWZh-yfnF0XnTPSCaEkDF-eR1f2d0S%3DkBwWfPN7jw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
