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: 9 months ago
JSON representation
Python on CoreOS. works well with ansible.
- Host: GitHub
- URL: https://github.com/ziozzang/python-on-coreos
- Owner: ziozzang
- License: mit
- Created: 2015-07-07T10:26:38.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T13:50:36.000Z (over 7 years ago)
- Last Synced: 2025-04-04T11:47:03.345Z (about 1 year ago)
- Topics: ansible, coreos, python
- Language: Shell
- Size: 3.91 KB
- Stars: 24
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.