Giter Site home page Giter Site logo

ansible-workshop's Introduction

Ansible Workshop - Hands-On Materials

Circle CI Build Status

Course info: http://get.soft-arch.net/ansible

Contents

Case study: WordPress.

Basic configuration level

Intermediate level

Advanced architecture level

  • Cluster architecture (20-cluster).
  • HA (high availability) architecture (21-ha).
  • Continuous deployment demo with canary deployment (30-canary).

Usage

In the class

  1. Fork this project.

  2. Clone your fork:

    git clone https://github.com/YOUR-ACCOUNT/ansible-workshop.git
    cd ansible-workshop
    
  3. Follow the SOP to be taught in the class (a.k.a., 【圍繞在組態管理技術上的自動化手法 TM】) to go through each lab.

After the class

  1. Re-visit each lab. Make sure you can demo all scenarios on your own.

  2. Re-visit each lab. But this time:

    a. Try to write your own version of Ansible playbooks!!! b. Read the README hints of each lab, if necessary; c. Try to tackle the 【想接受挑戰嗎?】 parts on your own.

  3. Remember:

    “天經地義的事持續做,水準會提升。”

        by 櫻木 建二

Note for Windows users

If you're using platforms without native support for Ansible (e.g., on Windows), use the following procedure to gain access to the Ansible control machine.

First, on the host machine, do the following to login to the Ansible control machine:

cd control-machine
vagrant up
vagrant ssh

Once you login to the guest machine (i.e., the Ansible control machine within a VM), you'll see the whole project files in the VM's /vagrant directory:

cd /vagrant
ls -al

For step-by-step instruction, watch my 14-minute video: 【在 Windows 上也能使用 Ansible】.

License

Licensed under the Apache License V2.0. See the LICENSE file for details.

ansible-workshop's People

Contributors

william-yeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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