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

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