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

@@ -1,5 +1,5 @@
---
- name: restart systemd_exporter
- name: Restart systemd_exporter
systemd:
daemon_reload: true
enabled: true

View File

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