Skip to content
Snippets Groups Projects
Verified Commit 7cff2ba0 authored by ynerant's avatar ynerant
Browse files

[prometheus-nginx] Ensure that nginx is installed, e.g. in root playbook


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 0c363aab
No related branches found
No related tags found
1 merge request!243[prometheus-nginx] Ensure that nginx is installed, e.g. in root playbook
......@@ -2,7 +2,9 @@
- name: Install prometheus-nginx-exporter
apt:
update_cache: true
name: prometheus-nginx-exporter
name:
- nginx # Nginx may be not already installed
- prometheus-nginx-exporter
register: apt_result
retries: 3
until: apt_result is succeeded
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment