forked from freedomofpress/securedrop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request freedomofpress#4348 from freedomofpress/3636-trust…
…y-cleanup-gettext [provisioning] cleanup now not needed trusty gettext install logic
- Loading branch information
Showing
1 changed file
with
1 addition
and
23 deletions.
There are no files selected for viewing
24 changes: 1 addition & 23 deletions
24
install_files/ansible-base/roles/app-test/tasks/modern_gettext.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 |
---|---|---|
@@ -1,29 +1,7 @@ | ||
--- | ||
# | ||
# This can be removed when VM against which this is run are more | ||
# recent than trusty | ||
# | ||
- name: Add gettext xenial apt repository | ||
apt_repository: | ||
repo: deb http://archive.ubuntu.com/ubuntu/ xenial main | ||
state: present | ||
update_cache: yes | ||
when: ansible_distribution_release != "xenial" | ||
tags: | ||
- apt | ||
|
||
- name: Install modern gettext | ||
- name: Install gettext | ||
apt: | ||
name: gettext | ||
state: latest | ||
tags: | ||
- apt | ||
|
||
- name: Remove gettext xenial apt repository | ||
apt_repository: | ||
repo: deb http://archive.ubuntu.com/ubuntu/ xenial main | ||
state: absent | ||
update_cache: yes | ||
when: ansible_distribution_release != "xenial" | ||
tags: | ||
- apt |