From 04600b45f600b15998bfab3526b72e97ce90dcbc Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Thu, 20 Aug 2020 12:22:09 -0500 Subject: [PATCH] Fix linting issues. --- .yamllint | 1 + tasks/configure-Debian.yml | 3 +++ tasks/configure-RedHat.yml | 1 + tasks/configure-Solaris.yml | 1 + tasks/configure-Suse.yml | 1 + 5 files changed, 7 insertions(+) diff --git a/.yamllint b/.yamllint index 76a383c..f2033dd 100644 --- a/.yamllint +++ b/.yamllint @@ -8,3 +8,4 @@ rules: ignore: | .github/stale.yml + .travis.yml diff --git a/tasks/configure-Debian.yml b/tasks/configure-Debian.yml index e115e61..e9b2ad4 100644 --- a/tasks/configure-Debian.yml +++ b/tasks/configure-Debian.yml @@ -5,6 +5,7 @@ regexp: "{{ item.regexp }}" line: "{{ item.line }}" state: present + mode: 0644 with_items: "{{ apache_ports_configuration_items }}" notify: restart apache @@ -13,6 +14,7 @@ src: "{{ apache_server_root }}/mods-available/{{ item }}" dest: "{{ apache_server_root }}/mods-enabled/{{ item }}" state: link + mode: 0644 with_items: "{{ apache_mods_enabled }}" notify: restart apache @@ -43,6 +45,7 @@ src: "{{ apache_conf_path }}/sites-available/{{ apache_vhosts_filename }}" dest: "{{ apache_conf_path }}/sites-enabled/{{ apache_vhosts_filename }}" state: link + mode: 0644 notify: restart apache when: apache_create_vhosts | bool diff --git a/tasks/configure-RedHat.yml b/tasks/configure-RedHat.yml index 95675e4..8577461 100644 --- a/tasks/configure-RedHat.yml +++ b/tasks/configure-RedHat.yml @@ -5,6 +5,7 @@ regexp: "{{ item.regexp }}" line: "{{ item.line }}" state: present + mode: 0644 with_items: "{{ apache_ports_configuration_items }}" notify: restart apache diff --git a/tasks/configure-Solaris.yml b/tasks/configure-Solaris.yml index b6c121b..2fbf832 100644 --- a/tasks/configure-Solaris.yml +++ b/tasks/configure-Solaris.yml @@ -5,6 +5,7 @@ regexp: "{{ item.regexp }}" line: "{{ item.line }}" state: present + mode: 0644 with_items: "{{ apache_ports_configuration_items }}" notify: restart apache diff --git a/tasks/configure-Suse.yml b/tasks/configure-Suse.yml index 54d4d1c..9f084cf 100644 --- a/tasks/configure-Suse.yml +++ b/tasks/configure-Suse.yml @@ -5,6 +5,7 @@ regexp: "{{ item.regexp }}" line: "{{ item.line }}" state: present + mode: 0644 with_items: "{{ apache_ports_configuration_items }}" notify: restart apache