From deb6cf4a6ab64e06e4f3721c23028430827c3c4b Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Tue, 11 Jun 2019 09:03:19 +0200
Subject: [PATCH] ansible-playbooks/general#85 Linting

---
 tasks/apache.yml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/tasks/apache.yml b/tasks/apache.yml
index 099c24e..7aa2cc9 100644
--- a/tasks/apache.yml
+++ b/tasks/apache.yml
@@ -55,7 +55,7 @@
     - redirect-ssl
     - other-vhosts-access-log
   notify:
-    - "Restart Apache"
+    - Restart Apache
   tags:
     - ApacheConfig
 
@@ -72,7 +72,7 @@
     src: '{{inventory_dir}}/files/ssl/{{item.1.file}}'
     dest: /etc/ssl/private
   with_subelements:
-    - {{ apache_certificates }}
+    - '{{( apache_certificates }})'
     - certs
   notify:
     - Restart Apache
@@ -108,8 +108,8 @@
     mode: 0644
   when: apache_server_default == "yes"
   notify:
-    - "Restart Apache"
-    - "Checkout htdocs for default"
+    - Restart Apache
+    - Checkout htdocs for default
 
 - name: Configuration file for default ssl site
   template:
@@ -120,8 +120,8 @@
     mode: 0644
   when: apache_server_default_ssl == "yes"
   notify:
-    - "Restart Apache"
-    - "Checkout htdocs for default"
+    - Restart Apache
+    - Checkout htdocs for default
 
 - name: Configuration file for our site(s)
   template:
@@ -132,8 +132,8 @@
     mode: 0644
   with_items: '{{ apache_server_defs }}'
   notify:
-    - "Restart Apache"
-    - "Checkout htdocs for our site(s)"
+    - Restart Apache
+    - Checkout htdocs for our site(s)
 
 - name: Disable the default site
   command: a2dissite {{ item }}
-- 
GitLab