Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Commit

Permalink
Correct nagios path lib -> lib64 regex
Browse files Browse the repository at this point in the history
I hadn't quite got the syntax of this block right, now corrected.
  • Loading branch information
goetzk committed Mar 2, 2017
1 parent 3e2edd0 commit 2617883
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ galaxy_info:
description: Configure Shinken to monitor your network
# company: your company (optional)
license: GPLv2
min_ansible_version: 1.2
min_ansible_version: 1.7
#
# Below are all platforms currently available. Just uncomment
# the ones that apply to your role. If you don't see your
Expand Down
4 changes: 2 additions & 2 deletions tasks/configure-shinken.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
when: ansible_os_family == "RedHat"
lineinfile:
dest: /etc/shinken/resource.d/paths.cfg
regexp: $NAGIOSPLUGINSDIR$=/usr/lib/nagios/plugins
line: $NAGIOSPLUGINSDIR$=/usr/lib64/nagios/plugins
regexp: '\$NAGIOSPLUGINSDIR\$=/usr/lib.*'
line: '$NAGIOSPLUGINSDIR$=/usr/lib64/nagios/plugins'
state: present
notify:
- restart shinken arbiter
Expand Down

0 comments on commit 2617883

Please sign in to comment.