From 9a0e25c96118c70d5af713a847da81f07a46f9be Mon Sep 17 00:00:00 2001 From: southerntofu Date: Tue, 14 Apr 2020 15:19:41 +0000 Subject: [PATCH] =?UTF-8?q?Le=20r=C3=B4le=20common=20est=20installable=20f?= =?UTF-8?q?raichement=20(manquait=20des=20paquets=20et=20un=20handler)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/common/handlers/main.yml | 4 ++++ roles/common/tasks/main.yml | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 roles/common/handlers/main.yml diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml new file mode 100644 index 0000000..4bab8ea --- /dev/null +++ b/roles/common/handlers/main.yml @@ -0,0 +1,4 @@ +- name: reload tor + service: + name: tor + state: restarted diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index dd72c2a..d037f3f 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -1,7 +1,7 @@ - name: Activer les backports lineinfile: path: /etc/apt/sources.list.d/backports.list - line: deb http://mirror.bhh.sh/debian buster-backports main contrib + line: deb http://ftp.debian.org/debian buster-backports main contrib create: yes state: present @@ -32,6 +32,8 @@ - g++ - libssl-dev - mosh + - tor + - sudo - name: setup certbot with contact email copy: