Install dnscrypt-proxy from ubuntu repos

This commit is contained in:
Jack Ivanov 2020-08-06 21:12:10 +01:00
parent be96315775
commit 18c1c9fb2e

View file

@ -1,4 +1,5 @@
---
- block:
- name: Add the repository
apt_repository:
state: present
@ -9,12 +10,6 @@
retries: 10
delay: 3
- name: Install dnscrypt-proxy
apt:
name: dnscrypt-proxy
state: present
update_cache: true
- name: Configure unattended-upgrades
copy:
src: 50-dnscrypt-proxy-unattended-upgrades
@ -22,6 +17,13 @@
owner: root
group: root
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:
- name: Ubuntu | Configure AppArmor policy for dnscrypt-proxy