From 147349058e3d54c7df499bb197d444a706f7a278 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 15 Apr 2019 20:14:30 +0200 Subject: [PATCH] create apache conf.d if needed --- tasks/setup-Archlinux.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/setup-Archlinux.yml b/tasks/setup-Archlinux.yml index 46e1f5b..a411546 100644 --- a/tasks/setup-Archlinux.yml +++ b/tasks/setup-Archlinux.yml @@ -3,3 +3,8 @@ pacman: name: "{{ nginx_package_name }}" state: present +- name: ensure conf.d exist + file: + path: "{{ nginx_conf_path }}" + state: directory + notify: reload nginx