-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #197 from Graylog2/pr-195
Pr 195
- Loading branch information
Showing
9 changed files
with
91 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,17 @@ | |
|
||
## Requirements | ||
|
||
- Ansible (> 2.5.0) | ||
- Ansible (2.13.13) | ||
- Python 3.9 | ||
- At least 4gb of memory on the target instance. | ||
- Linux | ||
- Currently tested against: | ||
- Ubuntu 18.04 | ||
- Ubuntu 20.04 | ||
- Ubuntu 22.04 | ||
- Centos 7 | ||
- Centos 8 | ||
- Centos 9 | ||
|
||
To install the role, run: | ||
|
||
|
@@ -33,10 +36,13 @@ Be certain you are running a supported version of Elasticsearch. You can configu | |
|
||
**Compatibility Matrix** | ||
|
||
| Graylog version | 3.x | 4.x | | ||
|:--------------|:-------------:|:-------------:| | ||
| Elasticsearch | 5-6 | 6.8 - 7.10 | | ||
| Graylog version | 3.x | 4.x | 5.x | 6.x | | ||
|:--------------|:-------------:|:----------:|:-------------:|:-------------:| | ||
| Elasticsearch | 5-6 | 6.8 - 7.10 | 6.8 - 7.10 | n/a | | ||
| OpenSearch | | 1.x* | 1.x - 2.x | 1.x - 2.x | | ||
*Graylog 4.3.x introduces support for OpenSearch. | ||
|
||
Refer to the [Software Interoperability Chart](https://go2docs.graylog.org/5-0/planning_your_deployment/planning_your_upgrade_to_opensearch.htm) | ||
|
||
You will need to these Ansible role dependencies: | ||
- [Java](https://github.com/lean-delivery/ansible-role-java) | ||
|
@@ -77,13 +83,15 @@ Here is an example playbook that uses this role. This is a single-instance confi | |
es_action_auto_create_index: False | ||
|
||
#Graylog vars | ||
graylog_version: 4.2 | ||
graylog_version: 5.2 | ||
graylog_install_java: True | ||
graylog_password_secret: "" # Insert your own here. Generate with: pwgen -s 96 1 | ||
graylog_root_password_sha2: "" # Insert your own root_password_sha2 here. | ||
graylog_http_bind_address: "{{ ansible_default_ipv4.address }}:9000" | ||
graylog_http_publish_uri: "http://{{ ansible_default_ipv4.address }}:9000/" | ||
graylog_http_external_uri: "http://{{ ansible_default_ipv4.address }}:9000/" | ||
graylog_install_open_package: True | ||
graylog_install_enterprise_package: False | ||
|
||
roles: | ||
- role: "graylog2.graylog" | ||
|
@@ -222,7 +230,7 @@ We run smoke tests for Graylog using this role. Documentation on that can be fou | |
|
||
## Author Information | ||
|
||
Author: Marius Sturm (<[email protected]>) and [contributors](https://github.com/Graylog2/graylog2-ansible-role/graphs/contributors) | ||
Author: Graylog and [contributors](https://github.com/Graylog2/graylog2-ansible-role/graphs/contributors) | ||
|
||
## License | ||
|
||
|
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,13 +1,20 @@ | ||
ansible==4.2.0 | ||
ansible-base==2.10.5 | ||
ansible==6.7.0 | ||
ansible-compat==24.5.1 | ||
ansible-core==2.13.13 | ||
ansible-lint==4.3.5 | ||
enrich==1.2.6 | ||
molecule==3.5.1 | ||
molecule-docker==1.0.2 | ||
molecule-vagrant==0.6 | ||
python-vagrant==0.5.15 | ||
pytest-testinfra==6.1.0 | ||
python-dateutil==2.9.0.post0 | ||
python-dotenv==1.0.1 | ||
python-slugify==8.0.4 | ||
PyYAML==5.3.1 | ||
selenium==3.141.0 | ||
selinux==0.3.0 | ||
setuptools==58.1.0 | ||
yamllint==1.25.0 | ||
webdriver-manager | ||
wheel | ||
wheel==0.45.1 |
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,4 +1,6 @@ | ||
{% if graylog_server_java is defined and graylog_server_java|length %} | ||
JAVA="{{ graylog_server_java }}" | ||
{% endif %} | ||
GRAYLOG_SERVER_JAVA_OPTS="{{ graylog_server_java_opts }}" | ||
GRAYLOG_SERVER_ARGS="{{ graylog_server_args }}" | ||
GRAYLOG_COMMAND_WRAPPER="{{ graylog_server_wrapper }}" |