From cf1936270b92721493c361a842bd1aafac8fc770 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 15 Sep 2019 19:30:01 +0200 Subject: [PATCH] integredete certbot and reverse proxy config --- tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 8e5f8ea..53011f2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -27,6 +27,8 @@ - include_tasks: setup-Archlinux.yml when: ansible_os_family == 'Archlinux' +- name: Ensure nginx is started and enabled to start at boot. + service: name=nginx state=started enabled=yes # Vhost configuration. - import_tasks: vhosts.yml @@ -52,6 +54,5 @@ - reload nginx when: nginx_realIP_Proxy is defined -- name: Ensure nginx is started and enabled to start at boot. - service: name=nginx state=started enabled=yes +