add required packages
This commit is contained in:
parent
d93ff329df
commit
287a409416
@ -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
14
tasks/requirements.yml
Normal 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']
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user