Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
AnsibleMonitoring
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tec
AnsibleMonitoring
Commits
d33ddc89
Commit
d33ddc89
authored
Jan 13, 2020
by
tec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If we need the role, why complicate things by having a 2nd version of node exporter?
parent
41a061af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
monitor_client.yml
monitor_client.yml
+1
-11
No files found.
monitor_client.yml
View file @
d33ddc89
...
...
@@ -3,18 +3,8 @@
become
:
true
become_user
:
root
remote_user
:
root
pre_tasks
:
# because deb10 packages version works
-
name
:
Have prometheus-node-exporter
apt
:
name
:
prometheus-node-exporter
state
:
latest
when
:
ansible_facts['os_family'] == 'Debian' and ansible_distribution_major_version == '10'
-
name
:
Gather the rpm package facts
package_facts
:
manager
:
auto
roles
:
-
{
role
:
cloudalchemy.node-exporter
,
when
:
"
ansible_facts.packages['prometheus-node-exporter']
is
not
defined"
}
-
role
:
cloudalchemy.node-exporter
tasks
:
-
name
:
Add getent passwd count monitor file
copy
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment