docker: Switch to docker compose plugin

This commit is contained in:
Jannik Beyerstedt 2024-01-20 19:51:51 +01:00
parent fe97b0ae76
commit ec682e500c
3 changed files with 26 additions and 25 deletions

View file

@ -14,9 +14,16 @@
state: present
- name: Telegraf - Add telegraf repo
become: true
when: ansible_distribution_release != 'bookworm'
ansible.builtin.apt_repository:
repo: "deb https://repos.influxdata.com/debian {{ ansible_distribution_release }} stable"
state: present
- name: Telegraf - Add telegraf repo
when: ansible_distribution_release == 'bookworm'
become: true
ansible.builtin.apt_repository:
repo: "deb https://repos.influxdata.com/debian bullseye stable"
state: present
- name: Telegraf - Install telegraf
become: true
ansible.builtin.apt: