summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/apt-repo/tor-project/files/repo.gpgbin0 -> 2115 bytes
-rw-r--r--roles/apt-repo/tor-project/handlers/main.yml4
-rw-r--r--roles/apt-repo/tor-project/tasks/main.yml21
-rw-r--r--roles/ubuntu-ws/tasks/main.yml1
4 files changed, 26 insertions, 0 deletions
diff --git a/roles/apt-repo/tor-project/files/repo.gpg b/roles/apt-repo/tor-project/files/repo.gpg
new file mode 100644
index 00000000..cdea9587
--- /dev/null
+++ b/roles/apt-repo/tor-project/files/repo.gpg
Binary files differ
diff --git a/roles/apt-repo/tor-project/handlers/main.yml b/roles/apt-repo/tor-project/handlers/main.yml
new file mode 100644
index 00000000..03ed878a
--- /dev/null
+++ b/roles/apt-repo/tor-project/handlers/main.yml
@@ -0,0 +1,4 @@
+---
+- name: update apt cache
+ apt:
+ update_cache: yes
diff --git a/roles/apt-repo/tor-project/tasks/main.yml b/roles/apt-repo/tor-project/tasks/main.yml
new file mode 100644
index 00000000..eef39c19
--- /dev/null
+++ b/roles/apt-repo/tor-project/tasks/main.yml
@@ -0,0 +1,21 @@
+---
+- name: install apt https transport
+ apt:
+ name: apt-transport-https
+ state: present
+
+- name: add repository key
+ copy:
+ src: repo.gpg
+ dest: /etc/apt/trusted.gpg.d/tor-project.gpg
+ notify: update apt cache
+
+- name: add repository entry
+ copy:
+ content: |
+ deb [arch=amd64] http://deb.torproject.org/torproject.org {{ ansible_distribution_release }} main
+ dest: /etc/apt/sources.list.d/tor-poject.list
+ notify: update apt cache
+
+- name: update apt cache
+ meta: flush_handlers
diff --git a/roles/ubuntu-ws/tasks/main.yml b/roles/ubuntu-ws/tasks/main.yml
index 807805f3..6fceef7f 100644
--- a/roles/ubuntu-ws/tasks/main.yml
+++ b/roles/ubuntu-ws/tasks/main.yml
@@ -57,6 +57,7 @@
- name: remove superflous packages
apt:
name:
+ - gnome-keyring
- gnome-software
- gnome-software-common
- software-properties-gtk