Commit Graph

7 Commits

Author SHA1 Message Date
mateusz 6498dab497 Upload files to "/"
ci / validate (push) Failing after 9m28s
CV file
2026-05-04 19:04:15 +02:00
Mateusz Suski 8bd3ff768e fixed python deps
ci / validate (push) Failing after 2m6s
2026-05-04 09:51:43 +00:00
Mateusz Suski 7c4e11927f fixed ci.yml + added ansible.cfg file
ci / validate (push) Failing after 1m24s
2026-05-04 09:49:13 +00:00
Mateusz Suski 78bcfce43a Refactor Ansible playbooks to comply with best practices and fix linting violations
ci / validate (push) Failing after 2m0s
- Implement 4-role architecture (base_provision, patching, hardening, decommission)
- Extract hardcoded values to role defaults and group_vars
- Add Ansible Vault integration for secrets management
- Implement proper handlers for service restarts instead of direct tasks
- Add Molecule testing framework with Docker driver
- Configure ansible-lint with production profile settings

Fix all 125+ ansible-lint violations:
- Add FQCN (Fully Qualified Collection Names) to all modules
- Replace yes/no with true/false for boolean values
- Add explicit mode parameters to file/template operations
- Remove duplicate post_tasks blocks from playbooks
- Add newlines at end of all YAML files
- Fix key ordering in tasks (name, when, block)
- Convert service restarts to handlers with notify
- Remove ignore_errors in favor of failed_when/changed_when
- Fix line length violations and empty lines
- Add noqa comments for unavoidable risky-file-permissions

Update documentation:
- Add REFACTORING.md with implementation details
- Add VAULT_GUIDE.md for secrets management
- Add per-role README.md files
- Update existing documentation

All playbooks now pass ansible-lint production profile with 0 violations.
2026-05-04 09:13:25 +00:00
Mateusz Suski 2f5e3653d6 refactor: improve Ansible playbooks and enforce linting standards
- refactor playbooks to follow best practices
- implement Ansible Vault for secrets management
- replace direct service restarts with handlers
- add Molecule testing framework with Docker

lint compliance:
- fix all ansible-lint violations (FQCN, booleans, file modes)
- remove duplicate tasks and improve structure
- enforce consistent task ordering and formatting
- add noqa where necessary for edge cases

documentation:
- add REFACTORING.md and VAULT_GUIDE.md
- improve per-role documentation

all playbooks now pass ansible-lint production profile with 0 violations
2026-05-04 09:12:35 +00:00
Mateusz Suski fcf305bd70 ci: configure and stabilize CI/CD pipeline
- fix runner configuration issues
- correct workflow labels and execution environment
- resolve dependency issues in pipeline (python deps)
- improve reliability of automation runs
2026-05-04 09:11:12 +00:00
Mateusz Suski 2313efac88 first commit 2026-04-29 21:57:39 +00:00