chore: replace apt_key to get_url
This commit is contained in:
parent
a890aac0cf
commit
c743695bbc
5 changed files with 8 additions and 13 deletions
|
@ -12,6 +12,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- test: remove support debian 10
|
- test: remove support debian 10
|
||||||
|
- test: remove support debian 11
|
||||||
|
|
||||||
## v1.1.0 - 2021-08-24
|
## v1.1.0 - 2021-08-24
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ Install and configure logstash
|
||||||
|
|
||||||
* Ansible >= 2.9
|
* Ansible >= 2.9
|
||||||
* Debian
|
* Debian
|
||||||
* Bullseye
|
|
||||||
* Bookworm
|
* Bookworm
|
||||||
|
|
||||||
## Role variables
|
## Role variables
|
||||||
|
|
|
@ -11,7 +11,6 @@ galaxy_info:
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- bullseye
|
|
||||||
- bookworm
|
- bookworm
|
||||||
|
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
|
|
|
@ -11,15 +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
|
|
||||||
lint: |
|
lint: |
|
||||||
set -e
|
set -e
|
||||||
yamllint .
|
yamllint .
|
||||||
|
|
|
@ -8,13 +8,18 @@
|
||||||
tags: logstash
|
tags: logstash
|
||||||
|
|
||||||
- name: Add repository key
|
- name: Add repository key
|
||||||
ansible.builtin.apt_key:
|
ansible.builtin.get_url:
|
||||||
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||||
|
dest: /etc/apt/keyrings/elastic.asc
|
||||||
|
checksum: sha256:db52809c5f6b27f9c2bed45cb43e398c659275f3d35305653c6750a0db90f5eb
|
||||||
tags: logstash
|
tags: logstash
|
||||||
|
|
||||||
- name: Add repository
|
- name: Add repository
|
||||||
ansible.builtin.apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
repo: "deb https://artifacts.elastic.co/packages/{{ logstash_major_version }}.x/apt stable main"
|
repo: >
|
||||||
|
deb [signed-by=/etc/apt/keyrings/elastic.asc]
|
||||||
|
https://artifacts.elastic.co/packages/{{ logstash_major_version }}.x/apt stable main
|
||||||
|
filename: elastic
|
||||||
tags: logstash
|
tags: logstash
|
||||||
|
|
||||||
- name: Install package
|
- name: Install package
|
||||||
|
|
Loading…
Reference in a new issue