mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 15:43:54 +02:00
Install dnscrypt-proxy from ubuntu repos (#1859)
This commit is contained in:
parent
4e793ddf65
commit
8b2b57deda
1 changed files with 19 additions and 17 deletions
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
- block:
|
||||||
- name: Add the repository
|
- name: Add the repository
|
||||||
apt_repository:
|
apt_repository:
|
||||||
state: present
|
state: present
|
||||||
|
@ -9,12 +10,6 @@
|
||||||
retries: 10
|
retries: 10
|
||||||
delay: 3
|
delay: 3
|
||||||
|
|
||||||
- name: Install dnscrypt-proxy
|
|
||||||
apt:
|
|
||||||
name: dnscrypt-proxy
|
|
||||||
state: present
|
|
||||||
update_cache: true
|
|
||||||
|
|
||||||
- name: Configure unattended-upgrades
|
- name: Configure unattended-upgrades
|
||||||
copy:
|
copy:
|
||||||
src: 50-dnscrypt-proxy-unattended-upgrades
|
src: 50-dnscrypt-proxy-unattended-upgrades
|
||||||
|
@ -22,6 +17,13 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
when: ansible_facts['distribution_version'] is version('20.04', '<')
|
||||||
|
|
||||||
|
- name: Install dnscrypt-proxy
|
||||||
|
apt:
|
||||||
|
name: dnscrypt-proxy
|
||||||
|
state: present
|
||||||
|
update_cache: true
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Ubuntu | Configure AppArmor policy for dnscrypt-proxy
|
- name: Ubuntu | Configure AppArmor policy for dnscrypt-proxy
|
||||||
|
|
Loading…
Add table
Reference in a new issue