Skip to content

About

An exercise with Ansible playbooks and roles: Install Apache, Java and Elasticsearch, serve a static web site that queries Elastic, load a secret from Ansible Vault.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Ansible Exercise

This repository represents an exercise with Ansible playbooks and roles. It contains the following:

  • Spin up 3 virtual machines using Vagrant
  • Install Apache server using an Ansible playbook on "webserver" hosts.
  • Serve a static HTML file that has been templated with Jinja2 on "webserver" hosts.
  • Use for loops, if statements and Ansible variables in Jinja2 template.
  • Install Java and Elasticsearch using Ansible roles on "database" hosts.
  • Query Elasticsearch from "webserver" hosts.
  • Load a secret from Ansible Vault and display its content.

About

An exercise with Ansible playbooks and roles: Install Apache, Java and Elasticsearch, serve a static web site that queries Elastic, load a secret from Ansible Vault.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages