From 007c7ed2a498d59341acb68993e8af47b2e39eb3 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 29 May 2019 00:23:42 +0200 Subject: [PATCH] roles/nginx/application: Fixed task names containing item keyword --- roles/nginx/application/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/nginx/application/tasks/main.yml b/roles/nginx/application/tasks/main.yml index 9d43bbc..4a7bf38 100644 --- a/roles/nginx/application/tasks/main.yml +++ b/roles/nginx/application/tasks/main.yml @@ -12,7 +12,7 @@ name: "{{ nginx_installation_directory }}/{{ item }}" with_items: "{{ nginx_unnecessary_files }}" -- name: Create directory {{ item }} +- name: Create directories for nginx file: state: directory name: "{{ item }}" @@ -56,7 +56,7 @@ dest: "{{ nginx_installation_directory }}/nginx.conf" notify: reload nginx -- name: Allow port {{ item }} for http in firewall +- name: Allow ports for http in firewall ufw: rule: allow port: "{{ item }}"