From 0df015e9b5c4aefd4245c94ee98021d2af80ed99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 22 Oct 2022 16:41:45 +0200 Subject: lint: pass ansible-lint + yamllint --- roles/prometheus/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/prometheus/tasks') diff --git a/roles/prometheus/tasks/main.yml b/roles/prometheus/tasks/main.yml index 5d5c1f3..900157f 100644 --- a/roles/prometheus/tasks/main.yml +++ b/roles/prometheus/tasks/main.yml @@ -1,12 +1,12 @@ - name: install prometheus - package: + ansible.builtin.package: name: - prometheus - node_exporter state: present - name: generate prometheus configuration - template: + ansible.builtin.template: src: prometheus.conf.j2 dest: "{{ prometheus_configuration_file }}" owner: 0 @@ -14,7 +14,7 @@ mode: 0644 - name: enable and restart prometheus services - service: + ansible.builtin.service: name: "{{ item }}" state: restarted enabled: true -- cgit v1.2.3