From 14a41c5b2972a51b38f84b6f7be620d92bb95f93 Mon Sep 17 00:00:00 2001 From: Andreas Lehr Date: Mon, 18 Jan 2021 17:42:54 +0100 Subject: [PATCH] correct mainline path for Ubuntu --- tasks/setup-Ubuntu.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/setup-Ubuntu.yml b/tasks/setup-Ubuntu.yml index 7d0d787..21b8bb8 100644 --- a/tasks/setup-Ubuntu.yml +++ b/tasks/setup-Ubuntu.yml @@ -16,7 +16,7 @@ when: nginx_repo_use | bool - name: Add nginx stable repository - apt_repository: repo='deb http://nginx.org/packages/{{ '/mainline' if nginx_repo_mainline else ''}}ubuntu {{ ansible_distribution_release }} nginx' + apt_repository: repo='deb http://nginx.org/packages/{{ 'mainline/' if nginx_repo_mainline else ''}}ubuntu {{ ansible_distribution_release }} nginx' state=present mode=0644 update_cache=true