diff --git a/roles/blackbox_exporter/tasks/configure.yml b/roles/blackbox_exporter/tasks/configure.yml index c4dd1aeea..447e1c6b6 100644 --- a/roles/blackbox_exporter/tasks/configure.yml +++ b/roles/blackbox_exporter/tasks/configure.yml @@ -5,7 +5,7 @@ dest: /etc/systemd/system/blackbox_exporter.service owner: root group: root - mode: 0644 + mode: '0644' notify: - restart blackbox_exporter @@ -15,6 +15,6 @@ dest: "{{ blackbox_exporter_config_dir }}/blackbox_exporter.yml" owner: root group: "{{ blackbox_exporter_group }}" - mode: 0644 + mode: '0644' notify: - reload blackbox_exporter diff --git a/roles/blackbox_exporter/tasks/install.yml b/roles/blackbox_exporter/tasks/install.yml index 5d951f90f..6470b465d 100644 --- a/roles/blackbox_exporter/tasks/install.yml +++ b/roles/blackbox_exporter/tasks/install.yml @@ -58,7 +58,7 @@ ansible.builtin.copy: src: "{{ blackbox_exporter_binary_local_dir }}/blackbox_exporter" dest: "{{ blackbox_exporter_binary_install_dir }}/blackbox_exporter" - mode: 0755 + mode: '0755' owner: root group: root when: