MyLittleAnsible
A command-line infrastructure-as-code tool inspired by Ansible, written in Python.
Code hosted on the school's GitLab. Available on request.
- modules
- 6
- SSH auth modes
- 3
01 Problem
Configuring servers by hand is neither reproducible nor auditable. The brief: understand what Ansible does by building it yourself, that is, apply a YAML task list to an inventory of machines over SSH.
02 Solution
A packaged CLI (`mla -f todos.yml -i inventory.yml`): 6 modules (apt, command, copy, Jinja2 template, service, sysctl), dry-run and debug modes, and three SSH authentication modes. Docker labs serve as test targets.
03 My role
Built alone, from design to final delivery.
Technical highlights
- Every task reports an ok, changed or fail state, with a per-host summary.
- Dry-run shows what would change without touching anything.
Stack
- Python
- paramiko
- PyYAML
- Jinja2
- Docker