Giter Club home page Giter Club logo

easy-ansible's Introduction

Easy Ansible

Step 1

git clone https://github.com/gpproton/easy-ansible.git && \
cd easy-ansible && \
chmod +x ./play

Step 2

update inventory.ini or Vagratfile with appropriate info

Step 3

Ensure either virtual box or quem (lib-virt) are available

Step 4

./play setup

Step 5

./play run playbooks/ping.yaml
## OR
./play playbooks/ping.yaml

Various how examples for ansible usage

  • User & permission setup
    • Generate SSH key
    • Generate ansible password from file
    • Create new ansible user
    • Copy SSH public key to servers
    • Disable root password login
  • System setup
    • host file setup
    • Setup base packages
    • Update all packages repo
    • Upgrade packages
    • Set hostnames
    • Set desired timezone
    • Set sysctl limits
    • Set system ulimits
  • Glusterfs setup
    • Install gluster packages
    • Gluster firewall changes
    • Cluster setup
    • Volume and bricks setup
    • fstab mount setup
  • Docker setup
    • install docker
    • install docker compose
    • Add custom docker config
    • Add ansible user to docker group
    • initialize docker swarm
    • Add masters to swarm
    • Add workers to swarm
    • Add roles to cluster leave, re-initialization
  • Sample servies
    • nignx highly available service

easy-ansible's People

Contributors

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