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