GithubHelp home page GithubHelp logo

imartzen / ansible-role-python-centos-bootstrap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adnanhodzic/ansible-role-python-ubuntu-bootstrap

1.0 0.0 0.0 22 KB

Install Python on newly bootstrapped CentOS/RedHat host

Home Page: https://github.com/iMartzen/ansible-role-python-centos-bootstrap

License: GNU General Public License v3.0

ansible-role-python-centos-bootstrap's Introduction

Ansible Role: Install Python on newly bootstrapped CentOS/RedHat host

Install Python on newly bootstrapped CentOS/RedHat 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

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: centos
  become: yes
  gather_facts: no
  serial: 1

  roles:
    - { role: centos-python-bootstrap }

- hosts: servers
  remote_user: centos
  become: yes

# run as part of tasks
  roles:
    ...

License

GPLv3

ansible-role-python-centos-bootstrap's People

Contributors

adnanhodzic avatar imartzen avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.