This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Timur Gadiev <Timur_Gadiev@epam.com>
- Loading branch information
Showing
11 changed files
with
112 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,4 +99,4 @@ suites: | |
additional_copy_path: | ||
- "." | ||
run_list: | ||
attributes: | ||
attributes: |
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,9 +1,8 @@ | ||
--- | ||
|
||
- fail: msg="beat must be specified and cannot be blank e.g. filebeat" | ||
when: beat is not defined or beat == '' | ||
|
||
- fail: msg="beat_conf must be specified" | ||
when: beat_conf is not defined | ||
|
||
- set_fact: "beats_major_version={{ beats_version[0] }}.x" | ||
- set_fact: "beats_major_version={{ beats_version[0] }}.x" |
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,44 +1,46 @@ | ||
--- | ||
#Install specific version here | ||
- name: wrapper playbook for kitchen testing "beats" | ||
- name: wrapper playbook for kitchen testing beats | ||
hosts: localhost | ||
roles: | ||
- { role: "ansible-beats", beat: "packetbeat", version_lock: true, | ||
beat_conf: { | ||
"interfaces": {"device":"any"}, | ||
"protocols": { | ||
"dns": { | ||
"ports": [53], | ||
"include_authorities":true | ||
}, | ||
"http": { | ||
"ports": [80, 8080, 8000, 5000, 8002] | ||
}, | ||
"memcache": { | ||
"ports": [11211] | ||
}, | ||
"mysql": { | ||
"ports": [3306] | ||
}, | ||
"pgsql": { | ||
"ports": [5432] | ||
}, | ||
"redis": { | ||
"ports": [6379] | ||
}, | ||
"thrift": { | ||
"ports": [9090] | ||
}, | ||
"mongodb": { | ||
"ports": [27017] | ||
} | ||
} | ||
}, | ||
output_conf : { | ||
"elasticsearch": { | ||
"hosts": ["localhost:9200"] | ||
} | ||
} | ||
} | ||
- role: ansible-beats | ||
beat: packetbeat | ||
version_lock: true | ||
beat_conf: | ||
interfaces: | ||
device: any | ||
protocols: | ||
dns: | ||
ports: | ||
- 53 | ||
include_authorities: true | ||
http: | ||
ports: | ||
- 80 | ||
- 8080 | ||
- 8000 | ||
- 5000 | ||
- 8002 | ||
memcache: | ||
ports: | ||
- 11211 | ||
mysql: | ||
ports: | ||
- 3306 | ||
pgsql: | ||
ports: | ||
- 5432 | ||
redis: | ||
ports: | ||
- 6379 | ||
thrift: | ||
ports: | ||
- 9090 | ||
mongodb: | ||
ports: | ||
- 27017 | ||
output_conf: | ||
elasticsearch: | ||
hosts: ["localhost:9200"] | ||
vars: | ||
use_repository: "true" | ||
use_repository: true |
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
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,3 +1,4 @@ | ||
--- | ||
OS: | ||
- ubuntu-1404 | ||
- ubuntu-1604 | ||
|
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,5 +1,4 @@ | ||
--- | ||
|
||
default_file: "/etc/default" | ||
init_script: "/etc/init.d" | ||
repo_url: "https://artifacts.elastic.co/packages/{{ beats_major_version }}/apt" |
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,5 +1,4 @@ | ||
--- | ||
|
||
default_file: "/etc/sysconfig" | ||
init_script: "/etc/init.d" | ||
repo_url: "https://artifacts.elastic.co/packages/{{ beats_major_version }}/yum" | ||
repo_url: "https://artifacts.elastic.co/packages/{{ beats_major_version }}/yum" |