Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
icinga
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
webarch
icinga
Commits
9b415d7c
Verified
Commit
9b415d7c
authored
6 months ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
updates for ANSIBLE_INJECT_FACT_VARS: "0"
parent
213a4644
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#35022
passed
6 months ago
Stage: bookworm
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/install.yml
+4
-4
4 additions, 4 deletions
tasks/install.yml
templates/icinga.sources.j2
+2
-2
2 additions, 2 deletions
templates/icinga.sources.j2
with
6 additions
and
6 deletions
tasks/install.yml
+
4
−
4
View file @
9b415d7c
...
...
@@ -34,10 +34,10 @@
pkg
:
-
monitoring-plugins-systemd
state
:
present
default_release
:
"
{{
ansible_distribution_release
}}-backports"
default_release
:
"
{{
ansible_
facts.
distribution_release
}}-backports"
update_cache
:
false
when
:
-
ansible_distribution_release == "bullseye"
-
ansible_
facts.
distribution_release == "bullseye"
-
icinga_plugin_systemd.rc ==
0
-
name
:
Bookworm packages present
...
...
@@ -45,7 +45,7 @@
pkg
:
-
monitoring-plugins-systemd
state
:
present
when
:
ansible_distribution_release is regex('^bookworm|jessie|noble|trixie$')
when
:
ansible_
facts.
distribution_release is regex('^bookworm|jessie|noble|trixie$')
-
name
:
Check if /usr/lib/nagios/plugins/check_systemd exists
ansible.builtin.stat
:
...
...
@@ -84,7 +84,7 @@
-
icinga2-common
-
vim-icinga2
state
:
latest
default_release
:
"
icinga-{{
ansible_distribution_release
}}"
default_release
:
"
icinga-{{
ansible_
facts.
distribution_release
}}"
update_cache
:
false
-
name
:
Icinga2 vim syntax highlighting directory present
...
...
This diff is collapsed.
Click to expand it.
templates/icinga.sources.j2
+
2
−
2
View file @
9b415d7c
# {{ ansible_managed }}
Types: deb
URIs: https://packages.icinga.com/{{ ansible_distribution | lower }}
Suites: icinga-{{ ansible_distribution_release }}
URIs: https://packages.icinga.com/{{ ansible_
facts.
distribution | lower }}
Suites: icinga-{{ ansible_
facts.
distribution_release }}
Architectures: {{ ansible_facts.ansible_local.dpkg.arch }}
Components: main
Signed-By: /etc/apt/keyrings/icinga.gpg
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment