Skip to content

ff2248/ansible-workshop

 
 

Repository files navigation

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.

About

Ansible Workshop - Hands-On Materials.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 69.0%
  • PHP 26.8%
  • Shell 4.2%