Skip to content
 
 

Repository files navigation

Ansible tutorial

Cloning the tutorial

git clone https://github.com/nelsg/ansible-tuto.git
cd ansible-tuto

Using Docker with the tutorial

Minimum Docker version: 1.10.1

  • Build and launch environment with ./env_up.sh, any previous environment is destroyed :
cd ansible-tuto
./env_up.sh
# password is : 'ansible'
  • Clean every ./env_clean.sh

Contents

Terminology:

  • command or action: ansible module like just a shell command. Intro in step-02.
  • task: it's combine an action (a module and its arguments) with a name and optionally some other keywords (like looping directives).
  • playbook: an yaml file contains roles executed in sequence, and eventually individual tasks. Intro in step-04.
  • role: an organisational unit grouping tasks together in order to install a piece of software. Intro in step-12.

Just in case you want to skip to a specific step, here is a topic table of contents.

About

Ansible tutorial

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages