Role Detail

AdnanHodzic.python-ubuntu-bootstrap

Install Python on newly bootstrapped Ubuntu server
Downloads
35
Type Ansible
Minimum Ansible Version 2.0
Installation $ ansible-galaxy install AdnanHodzic.python-ubuntu-bootstrap
Tags
bootstrap
development
python
system
ubuntu
Last Commit
Last Imported
OS Platforms
Platform Version
Ubuntu artful
Ubuntu lucid
Ubuntu maverick
Ubuntu natty
Ubuntu oneiric
Ubuntu precise
Ubuntu quantal
Ubuntu raring
Ubuntu saucy
Ubuntu trusty
Ubuntu utopic
Ubuntu vivid
Ubuntu wily
Ubuntu xenial
Ubuntu yakkety
Ubuntu zesty
Last 10 Imports
Completed Status
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS

Ansible Role: Install Python on newly bootstrapped Ubuntu host

Install Python on newly bootstrapped Ubuntu 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

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 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

None