AdnanHodzic.python-ubuntu-bootstrap

Ansible Role: Install Python on New Ubuntu Host

Purpose: Install Python on a new Ubuntu or Debian host

This Ansible role installs Python on a newly set-up host. Typically, this is a host you haven't connected to via SSH yet.

Python must be installed for Ansible to function (if it's not already installed).

This role is a part of the containerized-wordpress-project.

Requirements

None.

Role Variables

You can change the setting for gather_facts: yes if you don’t want it on in your playbook. If you wish to disable it, comment out or remove this line from tasks/main.yml:

- setup: # aka gather_facts: yes

For more details, see the Example Playbook section.

Dependencies

None.

Example Playbook

This role is designed to run as part of pre_tasks, like this:

# 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

Since I work on this project in my free time, please consider supporting it with any amount of donation!

PayPal

paypal

Bitcoin

bc1qlncmgdjyqy8pe4gad4k2s6xtyr8f2r3ehrnl87

bitcoin

Informazioni sul progetto

Install Python on newly bootstrapped Ubuntu or Debian host

Installa
ansible-galaxy install AdnanHodzic.python-ubuntu-bootstrap
Licenza
gpl-3.0
Download
308
Proprietario
Tech Lead at ING (DAP) Public Cloud area. Created few cool Open Source projects. Ex Debian Linux contributor, read more on: https://adnan.hodzic.org