From 0abddae60c091a7ef1e4893d8232809cdbee6e98 Mon Sep 17 00:00:00 2001
From: BhEaN <bhean@vandalsweb.com>
Date: Sun, 22 Sep 2019 04:19:05 +0200
Subject: [PATCH 1/2] Added .editorconfig

---
 .editorconfig | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..6922dec
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,26 @@
+# EditorConfig is awesome: https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+charset = utf-8
+end_of_line = LF
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = space
+indent_size = 4
+max_line_length = 120
+
+[*.{yml,yaml,yml.j2,yaml.j2}]
+indent_size = 2
+
+[*.{json,json.j2}]
+indent_size = 2
+
+[*.md]
+max_line_length = 140
+
+[COMMIT_EDITMSG]
+max_line_length = 0
-- 
GitLab


From 507c96ffa228d2b4d9f83ea39bc733fb1b44b221 Mon Sep 17 00:00:00 2001
From: BhEaN <bhean@vandalsweb.com>
Date: Sun, 22 Sep 2019 04:20:49 +0200
Subject: [PATCH 2/2] Change permissions and small typos

---
 tasks/install-iptables.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tasks/install-iptables.yml b/tasks/install-iptables.yml
index 83116aa..7a9c542 100644
--- a/tasks/install-iptables.yml
+++ b/tasks/install-iptables.yml
@@ -22,7 +22,7 @@
     dest: "/etc/iptables/fw-rules-off.sh"
     owner: root
     group: adm
-    mode: "0750"
+    mode: "0755"
 
 - name: "Generating ipv4 firewall rules"
   become: yes
@@ -31,10 +31,10 @@
     dest: "/etc/iptables/"
     owner: root
     group: adm
-    mode: "0640"
+    mode: "0644"
     validate: iptables-restore --test %s
   when: iptables_v4_enabled | bool
-  notify: "Aplying ipv4 firewall rules"
+  notify: "Applying ipv4 firewall rules"
 
 - name: "Generating ipv6 firewall rules"
   become: yes
@@ -43,10 +43,10 @@
     dest: "/etc/iptables/"
     owner: root
     group: adm
-    mode: "0640"
+    mode: "0644"
     validate: ip6tables-restore --test %s
   when: iptables_v6_enabled | bool
-  notify: "Aplying ipv6 firewall rules"
+  notify: "Applying ipv6 firewall rules"
 
 - name: "Cleaning ipv4 rules if disabled"
   become: yes
-- 
GitLab