A poll application deployed on five machines with Ansible
- context
- EPITECH · team of 2
- period
- May → Jun 2026
- platforms
- Ansible · Jinja · Shell

> cat context.md
An EPITECH project, built with Marin Jeunot: deploy the poll application from an earlier project (Popeye) on five machines, without containers, using Ansible. My part: the base, Redis, PostgreSQL and poll roles, the Ansible Vault, the one-click deployment script and the documentation. Marin wrote the worker and result roles.
> cat how-it-works.md
- 01One playbook applies a base role to every machine (packages, UTC time zone), then one role per service: redis, postgresql, poll, worker and result.
- 02Each service's settings are generated from Jinja templates, and the PostgreSQL password is kept in an encrypted Ansible Vault.
- 03PostgreSQL 16 comes from its official apt repository, since Debian 13 ships version 17.
- 04one-click.sh runs the whole deployment in a single command.