Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ziozzang/python-on-coreos

Python on CoreOS. works well with ansible.
https://github.com/ziozzang/python-on-coreos

ansible coreos python

Last synced: 1 day ago
JSON representation

Python on CoreOS. works well with ansible.

Awesome Lists containing this project

README

        

# python-on-coreos
Python on CoreOS. works well with ansible.

this script install Active Python x86_64 binary to CoreOS.
this will works well with ansible, also any 3rd party software. because it hsa pip also. :)

INSTALL
=======
just run the contents of shell-script.

```
wget -qO- https://raw.githubusercontent.com/ziozzang/python-on-coreos/master/install-python-on-coreos.sh | bash
```

RUNNING
=======

/opt/bin/python will works well. :)

if you want to run python in anywhere, just make ~/.bashrc file which contains this.
```
export PATH=$PATH:/opt/bin
```

or just run this command
```
cat > ~/.bashrc << EOF
export PATH=\$PATH:/opt/bin
EOF
```

WITH ANSIBLE
============
check sample-ansible-hosts file. there would be all you need to.

```
ansible -m setup -i hosts core-01
```

this command works like charm.