Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
collectd
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
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
ansible
collectd
Commits
b40fcaa4
Commit
b40fcaa4
authored
7 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Cleaner OpenBSD package installation.
parent
a5bd5ee6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/main.yml
+1
-2
1 addition, 2 deletions
tasks/main.yml
vars/main.yml
+0
-8
0 additions, 8 deletions
vars/main.yml
with
1 addition
and
10 deletions
tasks/main.yml
+
1
−
2
View file @
b40fcaa4
...
...
@@ -7,7 +7,6 @@
-
ansible_os_family in collectd_conf
-
ansible_os_family in aliases_file
-
ansible_os_family in collectd_user
-
ansible_os_family != 'OpenBSD' or ansible_distribution_release in collectd_openbsd_version
-
name
:
APT install
when
:
ansible_pkg_mgr == 'apt'
...
...
@@ -21,7 +20,7 @@
-
name
:
pkg install
when
:
ansible_pkg_mgr == 'openbsd_pkg'
openbsd_pkg
:
name
:
'
{{
collectd
_openbsd_version[ansible_distribution_release]
}}'
name
:
collectd
%5
state
:
present
-
name
:
Create configuration directory
...
...
This diff is collapsed.
Click to expand it.
vars/main.yml
+
0
−
8
View file @
b40fcaa4
...
...
@@ -5,14 +5,6 @@ collectd_conf:
OpenBSD
:
/etc/collectd.conf
Debian
:
/etc/collectd/collectd.conf
collectd_openbsd_version
:
'
5.5'
:
'
collectd-4.10.2p4'
'
5.6'
:
'
collectd-4.10.2p4'
'
5.7'
:
'
collectd-5.4.1p1'
'
5.8'
:
'
collectd-5.5.0p1'
'
5.9'
:
'
collectd-5.5.0p3'
'
6.0'
:
'
collectd-5.5.1'
aliases_file
:
OpenBSD
:
/etc/mail/aliases
Debian
:
/etc/aliases
...
...
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