Giter VIP home page Giter VIP logo

ansible-techlab's Introduction

Ansible-Techlab

Techlab to learn ansible!

We assume, that each user has three virtual machines available:

  • a control host
  • two nodes called node1 and node2

Unless otherwise specified, your working directory for all labs is /home/ansible/techlab/.

Some good advice:

  • Always read all the tasks first. Some tasks might not be clear until you get the whole scope of the lab.
  • Open a terminal that you use only for ansible-doc (see later) and one terminal that you use for ad hoc commands (see later) to check the result of your plays.
  • Copypaste all the filenames and other information from the labs to your playbooks. You will make less mistakes.

Vagrant Setup (Optional)

You can do the labs with any linux servers you'd like. An easy solution would be to use vagrant. For more information about vagrant search the webs. With the vagrant setup provided with this lab you can use three local CentOS virtual machines using kvm.

WARNING: The following passwords are not secure and intended only to be used with local virtual machines not reachable from outside of the virtualization host.

control 192.168.122.50
node1 192.168.122.51
node2 192.168.122.52

user: vagrant
password: vagrant

With vagrant you can create those vm's on your local machine, make sure vagrant is installed

### Install vagrant on CentOS/RHEL
# yum install vagrant
### Install vagrant on Debian/Ubuntu
# apt install vagrant

### install libvirt provider
# vagrant plugin install vagrant-libvirt

### setup vm's
# vagrant up

### remove all vm's
#vagrant destroy -f

ansible-techlab's People

Contributors

acteru avatar friendlypenguin avatar nerrehmit avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

acteru nerrehmit

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.