Skip to content

Fix capitalization of namespace #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Or if you are using Tower or AWX add the collection to your requirements file.

```
collections:
- name: NETWAYS.elasticstack
- name: netways.elasticstack
```

Usage
Expand All @@ -26,7 +26,7 @@ To use the collection in your Ansible playbook add the following key to your pla
- name: Playbook
hosts: some_host_pattern
collections:
- NETWAYS.elasticstack
- netways.elasticstack
tasks:
- name: import role logstash
import_role:
Expand All @@ -41,7 +41,7 @@ Or refer to the role with the FQCN of the role.
tasks:
- name: import role by FQCN from a collection
import_role:
name: NETWAYS.elasticstack.logstash
name: netways.elasticstack.logstash
```

Roles
Expand Down
4 changes: 2 additions & 2 deletions docs/role-beats.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Ansible Role: Beats
=========

![Test Role Beats](https://github.com/NETWAYS/ansible-collection-elasticstack/actions/workflows/test_role_beats.yml/badge.svg)
![Test Role Beats](https://github.com/netways/ansible-collection-elasticstack/actions/workflows/test_role_beats.yml/badge.svg)

This role installs and configures Beats. You can use it as a standalone role or combine it with our other roles managing the Elastic Stack.

Expand Down Expand Up @@ -110,7 +110,7 @@ If you want to use this role with your own TLS certificates, use these variables
- name: Install Elastic Beats
hosts: beats-hosts
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
elasticsearch_jna_workaround: true
elasticsearch_disable_systemcallfilterchecks: true
Expand Down
6 changes: 3 additions & 3 deletions docs/role-elasticsearch.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ELASTICSEARCH
=========

![Test Role Elasticsearch](https://github.com/NETWAYS/ansible-collection-elasticstack/actions/workflows/test_role_elasticsearch.yml/badge.svg)
![Test Role Elasticsearch](https://github.com/netways/ansible-collection-elasticstack/actions/workflows/test_role_elasticsearch.yml/badge.svg)

This role installs manages Elasticsearch on your hosts. Optionally it can configure Elastics Security components, too.

Expand All @@ -22,7 +22,7 @@ Role Variables
* *elasticsearch_disable_systemcallfilterchecks*: Disable system call filter checks. This has a security impact but is necessary on some systems. Please refer to the [docs](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/_system_call_filter_check.html) for details. (default: `false`)
* *elasticsearch_pamlimits*: Set pam_limits neccessary for Elasticsearch. (Default: `true`)

This variable activates a workaround to start on systems that have certain hardening measures active. See [Stackoverflow](https://stackoverflow.com/questions/47824643/unable-to-load-jna-native-support-library-elasticsearch-6-x/50371992#50371992) for details and logmessages to look for. **WARNING**: This will change your `/etc/sysconfig/elasticseach`or `/etc/default/elasticsearch` file and overwrite `ES_JAVA_OPTS`. See this [issue](https://github.com/NETWAYS/ansible-role-elasticsearch/issues/79) for details.
This variable activates a workaround to start on systems that have certain hardening measures active. See [Stackoverflow](https://stackoverflow.com/questions/47824643/unable-to-load-jna-native-support-library-elasticsearch-6-x/50371992#50371992) for details and logmessages to look for. **WARNING**: This will change your `/etc/sysconfig/elasticseach`or `/etc/default/elasticsearch` file and overwrite `ES_JAVA_OPTS`. See this [issue](https://github.com/netways/ansible-role-elasticsearch/issues/79) for details.

* *elasticsearch_jna_workaround*: Activate JNA workaround. (default: `false`)

Expand All @@ -34,7 +34,7 @@ These variables are identical over all our elastic related roles, hence the diff
```
- name: Install Elasticsearch
collections:
- NETWAYS.elasticstack
- netways.elasticstack
hosts: elasticsearch-hosts
vars:
elastic_variant: oss
Expand Down
4 changes: 2 additions & 2 deletions docs/role-kibana.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Ansible Role: Kibana
=========

![Test Role Kibana](https://github.com/NETWAYS/ansible-collection-elasticstack/actions/workflows/test_role_kibana.yml/badge.svg)
![Test Role Kibana](https://github.com/netways/ansible-collection-elasticstack/actions/workflows/test_role_kibana.yml/badge.svg)

This roles installs and configures Kibana.

Expand Down Expand Up @@ -35,7 +35,7 @@ If you use `localhost` in `kibana_elasticsearch_hosts` , certificate verificatio
```
- name: Install Kibana
collections:
- NETWAYS.elasticstack
- netways.elasticstack
hosts: kibana-host
vars:
elastic_stack_full_stack: true
Expand Down
4 changes: 2 additions & 2 deletions docs/role-logstash.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Ansible Role: Logstash
=========

![Test Role Logstash](https://github.com/NETWAYS/ansible-collection-elasticstack/actions/workflows/test_role_logstash.yml/badge.svg)
![Test Role Logstash](https://github.com/netways/ansible-collection-elasticstack/actions/workflows/test_role_logstash.yml/badge.svg)

This role installs and configures [Logstash](https://www.elastic.co/products/logstash) on Linux systems.

Expand Down Expand Up @@ -97,7 +97,7 @@ The following variables only apply if you use this role together with our Elasti
- name: Install Logstash
hosts: logstash-host
collections:
- NETWAYS.elasticstack
- netways.elasticstack
roles:
- repos
- logstash
Expand Down
4 changes: 2 additions & 2 deletions docs/role-repos.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Elastic Repos
=========

![Test Role repos](https://github.com/NETWAYS/ansible-collection-elasticstack/actions/workflows/test_role_repos.yml/badge.svg)
![Test Role repos](https://github.com/netways/ansible-collection-elasticstack/actions/workflows/test_role_repos.yml/badge.svg)

The role adds Elastic repositories to the package manager. It's main use is in connection with other roles that provide installation and configuration of the Elastic Stack.

Expand All @@ -28,7 +28,7 @@ Usage
- hosts: all
become: yes
collections:
- NETWAYS.elasticstack
- netways.elasticstack
roles:
- repos
```
8 changes: 4 additions & 4 deletions galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace: NETWAYS
namespace: netways
name: elasticstack
version: 1.0.0
readme: README.md
Expand All @@ -23,10 +23,10 @@ tags:
- monitoring
dependencies:
"community.general": "*"
repository: https://github.com/NETWAYS/ansible-collection-elasticstack
documentation: https://github.com/NETWAYS/ansible-collection-elasticstack/README.md
repository: https://github.com/netways/ansible-collection-elasticstack
documentation: https://github.com/netways/ansible-collection-elasticstack/README.md
homepage: https://www.netways.de
issues: https://github.com/NETWAYS/ansible-collection-elasticstack/issues
issues: https://github.com/netways/ansible-collection-elasticstack/issues
build_ignore:
- .github
- .cache
Expand Down
2 changes: 1 addition & 1 deletion molecule/beats_default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
elastic_stack_full_stack: false
elasticsearch_jna_workaround: true
Expand Down
2 changes: 1 addition & 1 deletion molecule/beats_full_stack/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
elastic_stack_full_stack: true
filebeat_syslog_udp: true
Expand Down
2 changes: 1 addition & 1 deletion molecule/beats_peculiar/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
filebeat_log_inputs:
messages:
Expand Down
8 changes: 4 additions & 4 deletions molecule/beats_peculiar/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
debug:
var: filebeat_version.stdout

- name: Fail if Filebeat has the wrong version
fail:
msg: "Filebeat has the wrong version"
#- name: Fail if Filebeat has the wrong version
# fail:
# msg: "Filebeat has the wrong version"

when: filebeat_version.stdout.find('7.16.1') == -1
# when: filebeat_version.stdout.find('7.16.1') == -1
2 changes: 1 addition & 1 deletion molecule/elasticsearch_cluster-oss/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Found at: https://github.com/ansible-community/molecule/issues/1567#issuecomment-436876722
- name: Converge
collections:
- NETWAYS.elasticstack
- netways.elasticstack
hosts: all
vars:
elastic_variant: oss
Expand Down
2 changes: 1 addition & 1 deletion molecule/elasticsearch_cluster/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Found at: https://github.com/ansible-community/molecule/issues/1567#issuecomment-436876722
- name: Converge
collections:
- NETWAYS.elasticstack
- netways.elasticstack
hosts: all
vars:
elasticsearch_jna_workaround: true
Expand Down
2 changes: 1 addition & 1 deletion molecule/elasticsearch_default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Found at: https://github.com/ansible-community/molecule/issues/1567#issuecomment-436876722
- name: Converge
collections:
- NETWAYS.elasticstack
- netways.elasticstack
hosts: all
vars:
#elasticsearch_security: true # needed for tests of > 7 releases
Expand Down
2 changes: 1 addition & 1 deletion molecule/elasticsearch_no-security/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Found at: https://github.com/ansible-community/molecule/issues/1567#issuecomment-436876722
- name: Converge
collections:
- NETWAYS.elasticstack
- netways.elasticstack
hosts: all
vars:
elasticsearch_security: false
Expand Down
2 changes: 1 addition & 1 deletion molecule/elasticstack_default/converge.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: Converge
collections:
- NETWAYS.elasticstack
- netways.elasticstack
hosts: all
vars:
elasticsearch_jna_workaround: true
Expand Down
2 changes: 1 addition & 1 deletion molecule/kibana_default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
elastic_stack_full_stack: false
elastic_release: "{{ lookup('env', 'ELASTIC_RELEASE') | int}}"
collections:
- NETWAYS.elasticstack
- netways.elasticstack
tasks:
- name: Include Elastic Repos
include_role:
Expand Down
2 changes: 1 addition & 1 deletion molecule/kibana_full_stack-oss/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# https://github.com/ansible-community/molecule/issues/1567#issuecomment-436876722
- name: Converge
collections:
- NETWAYS.elasticstack
- netways.elasticstack
hosts: all
vars:
elastic_stack_full_stack: true
Expand Down
2 changes: 1 addition & 1 deletion molecule/kibana_full_stack/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
elastic_stack_full_stack: true
elastic_release: "{{ lookup('env', 'ELASTIC_RELEASE') | int}}"
Expand Down
2 changes: 1 addition & 1 deletion molecule/logstash_default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
elastic_stack_full_stack: false
elastic_release: "{{ lookup('env', 'ELASTIC_RELEASE') | int}}"
collections:
- NETWAYS.elasticstack
- netways.elasticstack
tasks:
- name: Include Elastics repos role
include_role:
Expand Down
2 changes: 1 addition & 1 deletion molecule/logstash_full_stack-oss/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
elastic_stack_full_stack: true
elastic_variant: oss
Expand Down
2 changes: 1 addition & 1 deletion molecule/logstash_full_stack/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
elastic_stack_full_stack: true
filebeat_syslog_udp: true
Expand Down
2 changes: 1 addition & 1 deletion molecule/logstash_pipelines/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
logstash_enable: true
logstash_pipelines:
Expand Down
2 changes: 1 addition & 1 deletion molecule/logstash_run_logstash/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
logstash_enable: true
logstash_deactivate_log_to_syslog: false
Expand Down
2 changes: 1 addition & 1 deletion molecule/logstash_specific_version/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
logstash_manage_logging: true
logstash_logging_console: false
Expand Down
2 changes: 1 addition & 1 deletion molecule/repos_default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
elastic_rpm_workaround: true
elastic_stack_full_stack: false
Expand Down
2 changes: 1 addition & 1 deletion molecule/repos_oss/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- name: Converge
hosts: all
collections:
- NETWAYS.elasticstack
- netways.elasticstack
vars:
elastic_variant: oss
elastic_rpm_workaround: true
Expand Down
2 changes: 1 addition & 1 deletion roles/logstash/templates/log4j2.properties.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Managed by Ansible Role
# https://github.com/NETWAYS/ansible-role-logstash
# https://github.com/netways/ansible-role-logstash
#
# Logging to logfile: {% if logstash_logging_file | bool %}true{% else %}false{% endif %}

Expand Down
4 changes: 2 additions & 2 deletions roles/logstash/templates/pipelines.yml.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

# Managed via Ansible role
# https://github.com/NETWAYS/ansible-role-logstash
# https://github.com/netways/ansible-role-logstash
{% if logstash_beats_input_congestion is defined %}
# global congestion threshold: {{ logstash_beats_input_congestion }}
{% endif %}
Expand Down Expand Up @@ -35,7 +35,7 @@
{% if logstash_pipelines is defined %}

### Autoconfigured pipelines ###
# See https://github.com/NETWAYS/ansible-role-logstash/blob/master/docs/pipelines.md
# See https://github.com/netways/ansible-role-logstash/blob/master/docs/pipelines.md
# for details
# Hint: They can be mixed up with manual code. When source or Redis is missing it's
# likely that there is code from another source in place.
Expand Down