Coder Social home page Coder Social logo

ansible-role-common-tools's Introduction

Common tools to install to all servers**

Purpose

This project solves server environment configuration issues. One servers are grouped by types, packages, files, file modification can be managed using variable file configuration. Making every servers of the same type ISO.

## How to use

The entrypoint of this ansible project is the configuration file (molecule/default/var.yml). Tasks load configuration and setup remote server according to it. Each variable in the configuration file match to one Ansible task.

For example, the commontools_packages_install variable describes packages that will be added on every targeted servers. This variable matches to task/package/install_packages.yml Ansible task.

Then commontools_packages_install_extra variable describes packages that will be added on servers depending of its group defined in molecule/default/inventory.yml. Condition is implemented using When and multi-dimensional Loop instructions. This variable matches to task/package/install_extra_packages.yml Ansible task.

## Example

A playbook example using this role can be found at molecule/default/playbook.yml. Configuration (variable file) at molecule/default/var.yml.

## CI requirement

In order to runner CI pipeline properly, the runner attached must have privileges and use /var/run/docker.sock:/var/run/docker.sock as volume.

## Prerequisit

Load GitLab ssh keys in ssh-agent for downloading ansible Energisme roles.

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.