-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses platform-specific vars in common role
In order to ease the transition to Focal, let's use different vars for packages depending on platform. When running the Xenial logic against Focal, the kernel removal tasks failed since several of the package names were not found. Also adding a "grsecurity" tag since the grsec story for Focal still needs work, so it's easy to skip now.
- Loading branch information
Conor Schaefer
committed
Sep 4, 2020
1 parent
1418f6c
commit e29dd3f
Showing
8 changed files
with
34 additions
and
28 deletions.
There are no files selected for viewing
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
8 changes: 0 additions & 8 deletions
8
install_files/ansible-base/roles/common/tasks/install_ntp.yml
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
install_files/ansible-base/roles/common/tasks/install_packages.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,7 @@ | ||
--- | ||
- name: Install base apt depedencies | ||
apt: | ||
name: "{{ securedrop_common_packages }}" | ||
state: present | ||
update_cache: yes | ||
cache_valid_time: 3600 |
9 changes: 0 additions & 9 deletions
9
install_files/ansible-base/roles/common/tasks/install_tmux.yml
This file was deleted.
Oops, something went wrong.
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
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
4 changes: 4 additions & 0 deletions
4
install_files/ansible-base/roles/common/vars/Ubuntu_focal.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,4 @@ | ||
--- | ||
securedrop_kernel_packages_to_remove: | ||
- linux-virtual | ||
- linux-generic |
9 changes: 9 additions & 0 deletions
9
install_files/ansible-base/roles/common/vars/Ubuntu_xenial.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,9 @@ | ||
--- | ||
securedrop_kernel_packages_to_remove: | ||
- linux-signed-generic | ||
- linux-signed-generic-lts-utopic | ||
- linux-signed-image-generic | ||
- linux-signed-image-generic-lts-utopic | ||
- linux-image-generic-lts-xenial | ||
- 'linux-image-.*generic' | ||
- 'linux-headers-.*' |