Skip to content
Snippets Groups Projects
Verified Commit 9aef5682 authored by Chris Croome's avatar Chris Croome
Browse files

add Linuxfabrik repo

parent 6e9c57b8
No related branches found
No related tags found
No related merge requests found
Pipeline #37034 failed
Showing with 57 additions and 25 deletions
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......@@ -18,6 +18,7 @@ variables:
ANSIBLE_INJECT_FACT_VARS: "0"
ANSIBLE_NOCOWS: "1"
ANSIBLE_REMOTE_TMP: "/tmp"
ANSIBLE_ROLES_PATH: "${CI_PROJECT_DIR}/..:~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles"
ANSIBLE_SHELL_ALLOW_WORLD_READABLE_TEMP: "1"
DEBIAN_FRONTEND: noninteractive
DEFAULT_MANAGED_STR: "Ansible managed"
......@@ -37,7 +38,7 @@ before_script:
stages:
- bookworm
bookworm:
image: registry.git.coop/webarch/containers/images/bookworm:20241008
image: registry.git.coop/webarch/containers/images/bookworm:20250304
stage: bookworm
script:
- pre-commit install
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......@@ -11,7 +11,7 @@
repos:
# https://github.com/adrienverge/yamllint/tags
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
rev: v1.36.2
hooks:
- id: yamllint
name: YAML Lint
......@@ -25,7 +25,7 @@ repos:
- templates
# https://github.com/jackdewinter/pymarkdown/releases
- repo: https://github.com/jackdewinter/pymarkdown.git
rev: v0.9.24
rev: v0.9.29
hooks:
- id: pymarkdown
name: Markdown Lint
......@@ -34,14 +34,14 @@ repos:
- README.md
# https://github.com/ansible/ansible-lint/releases
- repo: https://github.com/ansible/ansible-lint.git
rev: v24.9.2
rev: v25.1.3
hooks:
- id: ansible-lint
name: Ansible Lint
language: python
additional_dependencies:
# https://github.com/kellyjonbrazil/jc/releases
- jc==1.25.3
- jc==1.25.4
# https://github.com/jmespath/jmespath.py/tags
- jmespath==1.0.1
...
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......@@ -11,6 +11,10 @@
icinga_hosts_dir: "/etc/icinga2/zones.d/{{ icinga_master_node }}"
icinga_api_users_dir: /etc/icinga2/conf.d/api-users
# Add The Linuxfabrik Monitoring Plugins Collection
# https://github.com/Linuxfabrik/monitoring-plugins
icinga_linuxfabrik: true
# The local_tmp variable appears not to work
# icinga_local_tmp: "{{ local_tmp }}"
icinga_local_tmp: /tmp
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......@@ -94,6 +94,27 @@ argument_specs:
type: list
required: false
description: A list of legacy files that should be absent.
icinga_linuxfabrik:
type: bool
required: true
description: Install The Linuxfabrik Monitoring Plugins Collection
icinga_linuxfabrik_gpg_url:
type: str
required: true
description: A internal URL for the Linuxfabrik GPG key.
icinga_linuxfabrik_gpg_checksum:
type: str
required: true
description: Internal Linuxfabrik GPG checksum.
icinga_linuxfabrik_gpg_checksum_raw:
type: str
required: true
description: Internal Linuxfabrik GPG checksum including sha256 prefix.
icinga_linuxfabrik_gpg_fingerprints:
type: list
elements: str
required: true
description: A internal list of the fingerprints of the Linuxfabrik GPG key.
icinga_local_tmp:
type: str
required: true
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......@@ -156,6 +156,12 @@
group: root
register: icinga_prefs
- name: Include apt config for the Linuxfabrik monitoring plugins collection
ansible.builtin.include_tasks: apt_linuxfabrik.yml
when:
- icinga_linuxfabrik is defined
- icinga_linuxfabrik | bool
- name: Apt cache update # noqa: no-handler
ansible.builtin.apt:
update_cache: true
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
# Copyright 2020-2024 Chris Croome
# Copyright 2020-2025 Chris Croome
#
# This file is part of the Webarchitects Icinga Ansible role.
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment