-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new role to add server packages required by ./securedrop-admin install
- Loading branch information
1 parent
f6f6ea2
commit de2deba
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
install_files/ansible-base/roles/prepare-servers/tasks/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
# Ensures that prequisite packages for anssible and securedrop-admin install | ||
# are present | ||
- name: 'Ensure apt has been safely updated wrt. CVE-2019-3462' | ||
raw: 'apt -o Acquire::http::AllowRedirect=false update && | ||
apt -o Acquire::http::AllowRedirect=false --only-upgrade -y install apt' | ||
- name: 'run apt update' | ||
raw: 'sudo apt -o update' | ||
- name: 'install packages' | ||
raw: 'sudo apt-get -y install python apt-transport-https dnsutils' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters