++++
This commit is contained in:
parent
2e58471e19
commit
f5bf174b23
@ -9,7 +9,7 @@ Group=prometheus
|
||||
EnvironmentFile=-/etc/sysconfig/alertmanager
|
||||
ExecStart=/usr/sbin/alertmanager \
|
||||
--config.file=/etc/alertmanager/alertmanager.yaml \
|
||||
--storage.path=/base/alertmanager \
|
||||
--storage.path=/alertmanager-data \
|
||||
--web.config.file=/etc/alertmanager/web-config.yaml
|
||||
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
@ -40,6 +40,12 @@
|
||||
state: directory
|
||||
group: prometheus
|
||||
owner: prometheus
|
||||
- name: Creates directory
|
||||
ansible.builtin.file:
|
||||
path: /alertmanager-data
|
||||
state: directory
|
||||
group: prometheus
|
||||
owner: prometheus
|
||||
|
||||
- name: Unarchive a file that needs to be downloaded (added in 2.0)
|
||||
ansible.builtin.unarchive:
|
||||
|
Loading…
x
Reference in New Issue
Block a user