-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to readme, repo download, and adding syncSources to user.prop…
…erties
- Loading branch information
Chris Dodds
committed
Sep 27, 2017
1 parent
ed25e67
commit 49a012f
Showing
4 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
--- | ||
- name: 'Download SumoCollector' | ||
get_url: | ||
url: '{{ sumologic_rpm_url }}' | ||
dest: '/tmp/sumo_collector.rpm' | ||
|
||
- name: install sumologic rpm | ||
- name: 'Install SumoCollector redhat' | ||
yum: | ||
name: '{{ sumologic_rpm_url }}' | ||
name: '/tmp/sumo_collector.rpm' | ||
state: present | ||
become: yes | ||
|
||
- name: put config file in place | ||
- name: Put config file in place | ||
template: | ||
src: 'templates/user.properties.j2' | ||
dest: '/opt/SumoCollector/config/user.properties' | ||
owner: root | ||
group: sumologic_collector | ||
become: yes | ||
|
||
- name: put sources file in place | ||
- name: Put sources file in place | ||
template: | ||
src: 'templates/sources.json.j2' | ||
dest: '/opt/SumoCollector/config/sources.json' | ||
owner: root | ||
group: sumologic_collector | ||
become: yes | ||
|
||
- name: start service | ||
- name: Start service | ||
service: | ||
name: collector | ||
state: stopped | ||
state: started | ||
enabled: yes | ||
become: yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters