https://github.com/adnanhodzic/ansible-role-python-ubuntu-bootstrap
Install Python on newly bootstrapped Ubuntu or Debian host
https://github.com/adnanhodzic/ansible-role-python-ubuntu-bootstrap
ansible ansible-role bootstrap linux python ssh ubuntu
Last synced: 3 months ago
JSON representation
Install Python on newly bootstrapped Ubuntu or Debian host
- Host: GitHub
- URL: https://github.com/adnanhodzic/ansible-role-python-ubuntu-bootstrap
- Owner: AdnanHodzic
- License: gpl-3.0
- Created: 2017-05-13T11:15:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T16:06:06.000Z (about 6 years ago)
- Last Synced: 2025-12-28T00:59:32.573Z (6 months ago)
- Topics: ansible, ansible-role, bootstrap, linux, python, ssh, ubuntu
- Homepage: https://galaxy.ansible.com/AdnanHodzic/python-ubuntu-bootstrap/
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role: Install Python on newly bootstrapped Ubuntu host
=========
**Install Python on newly bootstrapped Ubuntu or Debian host**
This Ansible role will install Python on newly bootstrapped host. This is usually
a new host which you never even SSH-ed to.
In order for Ansible to work, Python must be installed (if missing).
This role was created as part of [containerized-wordpress-project](https://github.com/AdnanHodzic/containerized-wordpress-project)
Requirements
------------
None.
Role Variables
--------------
Unless you don't want `gather_facts: yes` to be set and enabled as second part of the playbook.
Make sure to comment/delete following line from `tasks/main.yml`
```- setup: # aka gather_facts: yes```
See [Example Playbook](https://github.com/AdnanHodzic/ansible-role-python-ubuntu-bootstrap#example-playbook) section for more information
Dependencies
------------
None.
Example Playbook
This role was created to be run as part of pre_tasks, i.e:
----------------
```
# run as part of pre_tasks
- hosts: servers
remote_user: ubuntu
become: yes
gather_facts: no
serial: 1
roles:
- { role: AdnanHodzic.python-ubuntu-bootstrap }
- hosts: servers
remote_user: ubuntu
become: yes
# run as part of tasks
roles:
...
```
License
-------
GPLv3
Donate
-------
Since I'm working on this project in free time, please consider supporting this project by making a donation of any amount!
##### PayPal
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=7AHCP5PU95S4Y&item_name=Contribution+for+work+on+containerized-wordpress-project¤cy_code=EUR&source=url)
##### BitCoin
[bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87](bitcoin:bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87)
[](bitcoin:bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87)