From f8370dc77be7cd35f5c8c436dfc3646947d165d1 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 26 Feb 2023 22:22:07 +0100 Subject: [PATCH] style(lint): quote mode --- tasks/main.yml | 8 ++++---- tasks/template_zone_files.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 8bb1e13..5c515d1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -14,7 +14,7 @@ path: "{{ bind_log_directory }}" owner: "{{ bind_unix_user }}" group: "{{ bind_unix_group }}" - mode: 0755 + mode: "0755" state: directory recurse: true @@ -23,7 +23,7 @@ path: "{{ bind_config_directory }}" owner: "{{ bind_unix_user }}" group: "{{ bind_unix_group }}" - mode: 0755 + mode: "0755" state: directory recurse: true @@ -62,7 +62,7 @@ dest: "{{ bind_main_config }}" owner: "{{ bind_unix_user }}" group: "{{ bind_unix_group }}" - mode: 0644 + mode: "0644" notify: Restart named - name: Create excluded configuration files @@ -71,7 +71,7 @@ dest: "{{ item | replace('etc/named', bind_config_directory) }}" owner: "{{ bind_unix_user }}" group: "{{ bind_unix_group }}" - mode: 0644 + mode: "0644" with_items: - etc/named.conf - etc/named/named.conf.acl diff --git a/tasks/template_zone_files.yml b/tasks/template_zone_files.yml index df1f8a7..d738dad 100644 --- a/tasks/template_zone_files.yml +++ b/tasks/template_zone_files.yml @@ -5,7 +5,7 @@ path: "{{ bind_config_directory }}/{{ zone.file | dirname }}" owner: "{{ bind_unix_user }}" group: "{{ bind_unix_group }}" - mode: 0755 + mode: "0755" state: directory with_items: - "{{ view.zones }}" @@ -19,7 +19,7 @@ dest: "{{ bind_config_directory }}/{{ zone.file }}" owner: "{{ bind_unix_user }}" group: "{{ bind_unix_group }}" - mode: 0644 + mode: "0644" with_items: - "{{ view.zones }}" loop_control: