freedomofpress / securedrop

GitHub repository for the SecureDrop whistleblower platform. Do not submit tips here!
https://securedrop.org/
Other
3.62k stars 686 forks source link

Move package dependency logic from Ansible to apt #2743

Open emkll opened 6 years ago

emkll commented 6 years ago

Feature request

Description

Apt package dependencies are currently managed by Ansible. Move dependency package to debian/control and add package dependencies, e.g:

securedrop-app-code-$RELEASE Depends: securedrop-ossec-agent, securedrop-ossec-server, securedrop-keyring)

User Stories

As a SecureDrop infrastructure developer, I would like simplify Ansible logic and defer the logic to apt instead.

conorsch commented 3 years ago

We've certainly made progress toward this end (e.g. #4134), but not enough to close. A comprehensive look at Ansible package management logic, with #2724.

eloquence commented 3 years ago

Adding to near-term backlog for consideration as a relatively low hanging fruit improvement to our provisioning story.

eloquence commented 3 years ago

@conorsch is doing a first spike on this today, so moving to current sprint.

eloquence commented 3 years ago

Some progress was made towards this as part of the 1.8.0 push:

We are still installing some dependencies via playbook, and may take future opportunities to do further refactoring, so keeping this issue open but removing from near-term backlog.