Begin migration to v2 Step 2
This commit is contained in:
parent
b91292576f
commit
a7140e5a84
37 changed files with 19 additions and 74 deletions
|
@ -11,12 +11,10 @@
|
|||
dest: "metrics/{{ item.dest }}"
|
||||
loop:
|
||||
- { src: 'docker-compose.yml', dest: 'docker-compose.yml' }
|
||||
register: metrics_copy_templates_results
|
||||
|
||||
- name: Update and restart container
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: metrics
|
||||
state: present
|
||||
pull: always
|
||||
restarted: "{{ metrics_copy_templates_results.changed }}"
|
||||
become: true
|
|
@ -1,5 +1,3 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue