chore: remove support debian11
This commit is contained in:
parent
a3138ac6ec
commit
09efb3115a
6 changed files with 15 additions and 22 deletions
|
@ -13,6 +13,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||||
|
|
||||||
- change apt key
|
- change apt key
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- support debian 11
|
||||||
|
|
||||||
## v1.0.0 - 2021-08-20
|
## v1.0.0 - 2021-08-20
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -9,12 +9,10 @@ Install and configure Telegraf
|
||||||
|
|
||||||
* Ansible >= 2.9
|
* Ansible >= 2.9
|
||||||
* Debian
|
* Debian
|
||||||
* Bullseye
|
|
||||||
* Bookworm
|
* Bookworm
|
||||||
|
|
||||||
## Role variables
|
## Role variables
|
||||||
|
|
||||||
* `telegraf_distribution_release` - set the distribution repository name (default: `ansible_distribution_release`)
|
|
||||||
* `telegraf_config` - hash with the general configuration (see [telegraf documentation](https://docs.influxdata.com/telegraf/latest/administration/configuration/))
|
* `telegraf_config` - hash with the general configuration (see [telegraf documentation](https://docs.influxdata.com/telegraf/latest/administration/configuration/))
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
telegraf_distribution_release: "{{ ansible_distribution_release }}"
|
|
||||||
telegraf_default_config:
|
telegraf_default_config:
|
||||||
agent:
|
agent:
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
|
|
@ -11,7 +11,6 @@ galaxy_info:
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- bullseye
|
|
||||||
- bookworm
|
- bookworm
|
||||||
|
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
|
|
|
@ -11,20 +11,6 @@ platforms:
|
||||||
command: /bin/systemd
|
command: /bin/systemd
|
||||||
capabilities:
|
capabilities:
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
- name: debian11
|
|
||||||
image: nishiki/debian11:molecule
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
|
||||||
cgroupns_mode: host
|
|
||||||
command: /bin/systemd
|
|
||||||
capabilities:
|
|
||||||
- SYS_ADMIN
|
|
||||||
provisioner:
|
|
||||||
inventory:
|
|
||||||
host_vars:
|
|
||||||
debian12:
|
|
||||||
telegraf_distribution_release: bullseye
|
|
||||||
lint: |
|
lint: |
|
||||||
set -e
|
set -e
|
||||||
yamllint .
|
yamllint .
|
||||||
|
|
|
@ -6,15 +6,22 @@
|
||||||
- gpg
|
- gpg
|
||||||
tags: telegraf
|
tags: telegraf
|
||||||
|
|
||||||
- name: Add key for influx repository
|
- name: Add repository key
|
||||||
ansible.builtin.apt_key:
|
ansible.builtin.get_url:
|
||||||
url: https://repos.influxdata.com/influxdata-archive_compat.key
|
url: https://repos.influxdata.com/influxdata-archive_compat.key
|
||||||
|
dest: /etc/apt/keyrings/influx.asc
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
checksum: sha256:393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c
|
||||||
tags: telegraf
|
tags: telegraf
|
||||||
|
|
||||||
- name: Add influx repository
|
- name: Add repository
|
||||||
ansible.builtin.apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
|
repo: >
|
||||||
|
deb [signed-by=/etc/apt/keyrings/influx.asc]
|
||||||
|
https://repos.influxdata.com/debian stable main
|
||||||
filename: influx
|
filename: influx
|
||||||
repo: "deb https://repos.influxdata.com/debian {{ telegraf_distribution_release }} stable"
|
|
||||||
tags: telegraf
|
tags: telegraf
|
||||||
|
|
||||||
- name: Install influxdb package
|
- name: Install influxdb package
|
||||||
|
|
Loading…
Reference in a new issue