Skip to content

Ansible basic configuration for demo purposes. Use of recommended directory structure.

Notifications You must be signed in to change notification settings

fervartel/ansible-demo-project

Repository files navigation

Basic Ansible template

Objectives

The objective of this project is to demostrate how to use Ansible sticking to a recommended directory structure.

  • It includes the windows bootstraping script to prepare Windows remote hosts to be provisioned with Ansible (ansible_remote_bootstrapping.yml)
  • Use of group_vars.
  • Minimum ansible.cfg setup
  • Inventory file (hosts) and in-situ group variable demonstration.
  • Playbook examples.

Requirements

  • A Linux distribution
  • Ansible
  • SSH key pair setup between the Ansible control machine and the remote hosts.

Advantages

Some advantage of Ansible for configuration management are:

  • It's agentless (no agent needed in the remote host)
  • Idempotent (things are done ONLY if needed. Repetitive executions won't break anything)
  • It's declarative (defines the state you want in the remote host)
  • Easy to use.

Useful references

About

Ansible basic configuration for demo purposes. Use of recommended directory structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published