From e7f291d124ad7f70f2a90908cfacdfd1a9afbb14 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Fri, 11 Mar 2022 22:02:17 +1300 Subject: [PATCH] Linting --- tasks/RedHat.yml | 2 +- tasks/communication.yml | 6 +++--- tasks/networking.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/RedHat.yml b/tasks/RedHat.yml index d744502..9c00cfe 100644 --- a/tasks/RedHat.yml +++ b/tasks/RedHat.yml @@ -38,7 +38,7 @@ # tags: security - name: Create admin group - group: name={{ADMIN_GROUP}} state=present + group: name={{ ADMIN_GROUP }} state=present - name: Configure yum limit lineinfile: diff --git a/tasks/communication.yml b/tasks/communication.yml index 553f2ef..155f54c 100644 --- a/tasks/communication.yml +++ b/tasks/communication.yml @@ -3,9 +3,9 @@ block: - name: postfix | Apply postfix configuration lineinfile: - dest: "{{item.dest}}" - regexp: "{{item.regexp}}" - line: "{{item.line}}" + dest: "{{ item.dest }}" + regexp: "{{ item.regexp }}" + line: "{{ item.line }}" insertafter: EOF notify: Restart Postfix when: "'SMTP0' not in inventory_hostname" diff --git a/tasks/networking.yml b/tasks/networking.yml index 2127657..780343f 100644 --- a/tasks/networking.yml +++ b/tasks/networking.yml @@ -59,7 +59,7 @@ - name: Ensure correct permissions (hosts/resolv.conf) file: - path: "{{item}}" + path: "{{ item }}" state: touch mode: u+rw,g+r,a+r with_items: