add required packages

This commit is contained in:
Ludovic Cartier 2021-05-27 10:41:18 +02:00
parent d93ff329df
commit 287a409416
2 changed files with 17 additions and 0 deletions

View File

@ -2,6 +2,9 @@
- name: 'prometheus | include asserts' - name: 'prometheus | include asserts'
include_tasks: 'asserts.yml' include_tasks: 'asserts.yml'
- name: 'prometheus | requirements'
include_tasks: 'requirements.yml'
- name: 'prometheus | server install' - name: 'prometheus | server install'
include_tasks: 'prometheus.yml' include_tasks: 'prometheus.yml'
when: when:

14
tasks/requirements.yml Normal file
View File

@ -0,0 +1,14 @@
---
- name: 'prometheus | update APT Cache'
apt:
update_cache: yes
cache_valid_time: 3600
- name: 'prometheus | pre-requirements install'
apt:
name:
- curl
- jq
state: present
tags: ['prometheus']