chore: replace apt_key to get_url
This commit is contained in:
parent
deb2afb389
commit
965bec2314
5 changed files with 15 additions and 14 deletions
|
@ -9,6 +9,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|||
|
||||
- test: use personal docker registry
|
||||
|
||||
### Removed
|
||||
|
||||
- test: remove support debian11
|
||||
|
||||
## v1.0.0 - 2021-08-18
|
||||
|
||||
### Added
|
||||
|
|
|
@ -9,7 +9,6 @@ Install icingaweb2
|
|||
|
||||
- Ansible >= 2.9
|
||||
- Debian
|
||||
- Bulleyes
|
||||
- Bookworm
|
||||
|
||||
## Role variables
|
||||
|
|
|
@ -11,7 +11,6 @@ galaxy_info:
|
|||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- bullseye
|
||||
- bookworm
|
||||
|
||||
galaxy_tags:
|
||||
|
|
|
@ -11,15 +11,6 @@ platforms:
|
|||
command: /bin/systemd
|
||||
capabilities:
|
||||
- SYS_ADMIN
|
||||
- name: debian11
|
||||
image: code.waks.be/nishiki/molecule:debian11
|
||||
privileged: true
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
||||
cgroupns_mode: host
|
||||
command: /bin/systemd
|
||||
capabilities:
|
||||
- SYS_ADMIN
|
||||
lint: |
|
||||
set -e
|
||||
yamllint .
|
||||
|
|
|
@ -5,14 +5,22 @@
|
|||
- apt-transport-https
|
||||
tags: icingaweb2
|
||||
|
||||
- name: Add key repository
|
||||
ansible.builtin.apt_key:
|
||||
- name: Add repository key
|
||||
ansible.builtin.get_url:
|
||||
url: https://packages.icinga.com/icinga.key
|
||||
dest: /etc/apt/keyrings/icinga.asc
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
checksum: sha256:be677e07972ed57b99ffc2fd211379ac11b9c6a7c8d9460086b447b96b0a82bb
|
||||
tags: icingaweb2
|
||||
|
||||
- name: Add repository
|
||||
ansible.builtin.apt_repository:
|
||||
repo: 'deb https://packages.icinga.com/debian icinga-{{ ansible_distribution_release }} main'
|
||||
repo: >-
|
||||
deb [signed-by=/etc/apt/keyrings/icinga.asc]
|
||||
https://packages.icinga.com/debian icinga-{{ ansible_distribution_release }} main
|
||||
filename: icinga
|
||||
tags: icingaweb2
|
||||
|
||||
- name: Install packages
|
||||
|
|
Loading…
Reference in a new issue