ansible-lint recommendations

This commit is contained in:
Oli
2023-07-27 23:27:11 +00:00
parent ccca06915f
commit 3e747a1069
31 changed files with 87 additions and 84 deletions

View File

@@ -33,4 +33,4 @@
owner: mysql
group: mysql
mode: "0600"
notify: restart mariadb
notify: Restart mariadb

View File

@@ -20,8 +20,8 @@
v{{ mysqld_exporter_version.tag }}/mysqld_exporter-{{ mysqld_exporter_version.tag }}\
.linux-{{ deb_architecture }}.tar.gz"
dest: "/var/tmp/mysqld_exporter.tar.gz"
register: _download_archive
until: _download_archive is succeeded
register: mysqld_exporter_download_archive
until: mysqld_exporter_download_archive is succeeded
retries: 3
delay: 5
@@ -36,7 +36,7 @@
--strip-components=1
include:
- "mysqld_exporter-{{ mysqld_exporter_version.tag }}.linux-{{ deb_architecture }}/mysqld_exporter"
notify: restart mysqld_exporter
notify: Restart mysqld_exporter
- name: Copy the mysqld_exporter systemd service file
template:
@@ -45,4 +45,4 @@
owner: root
group: root
mode: "0644"
notify: restart mysqld_exporter
notify: Restart mysqld_exporter