From 30e359ec99f3a81f0a290fcdf06136521d42ae1e Mon Sep 17 00:00:00 2001 From: LitniAlex Date: Sun, 31 May 2020 15:06:09 +0300 Subject: [PATCH] nginx_conf tag added to simply update nginx config --- tasks/main.yml | 3 +++ tasks/vhosts.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index bfb5fe4..8c830f3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,6 +2,8 @@ # Variable setup. - name: Include OS-specific variables. include_vars: "{{ ansible_os_family }}.yml" + tags: + - nginx_conf - name: Define nginx_user. set_fact: @@ -40,6 +42,7 @@ mode: 0644 notify: - reload nginx + - nginx_conf - name: Ensure nginx service is running as configured. service: diff --git a/tasks/vhosts.yml b/tasks/vhosts.yml index 7e2995e..9f4c4d9 100644 --- a/tasks/vhosts.yml +++ b/tasks/vhosts.yml @@ -25,6 +25,7 @@ notify: reload nginx tags: - skip_ansible_lint + - nginx_conf - name: Remove managed vhost config files. file: