From 73efb1ab7907860a9841c1293c08c2d805bb98af Mon Sep 17 00:00:00 2001 From: Patrick Dolinic Date: Thu, 2 Feb 2023 13:12:57 +0100 Subject: [PATCH 1/4] update docs for el8, show user var options --- README.md | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 90e769f5..7504c08e 100644 --- a/README.md +++ b/README.md @@ -30,17 +30,33 @@ collections: ## Usage ``` -- name: Install Elasticsearch - hosts: all +--- +- hosts: all +# remote_user: my_username + become: true collections: - - NETWAYS.elasticstack + - netways.elasticstack vars: - elastic_variant: oss + # elastic_stack_full_stack: true + elastic_variant: elastic #oss elasticsearch_jna_workaround: true + elastic_override_beats_tls: true + # elastic_release: 8 #7 + pre_tasks: + - name: Install Rsyslog + package: + name: rsyslog + - name: Start rsyslog + service: + name: rsyslog + state: started + enabled: true roles: - repos - - beats - elasticsearch + - geerlingguy.redis - logstash - kibana + - beats + ``` From 515b67ee3e42da02fc1fb0cc4b8025b547b125ff Mon Sep 17 00:00:00 2001 From: pdolinic <71389319+pdolinic@users.noreply.github.com> Date: Thu, 2 Feb 2023 13:42:03 +0100 Subject: [PATCH 2/4] Update README.md Co-authored-by: Thomas Widhalm --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7504c08e..bc026e48 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,9 @@ collections: ## Usage +Our default configuration will collect filesystem logs placed by `rsyslog`. Therefor our example playbook makes sure, `rsyslog` is installed. If you don't want that, please change the configuration of the `beats` module. Without syslog you won't receive any messages with the default configuration. + +There are some comments in the Playbook. Either fill them with the correct values (`remote_user`) or consider them as a hint to commonly used options. ``` --- - hosts: all From 08415a59f16c5b621dde669817133ee85b6d4b5f Mon Sep 17 00:00:00 2001 From: pdolinic <71389319+pdolinic@users.noreply.github.com> Date: Thu, 2 Feb 2023 13:42:26 +0100 Subject: [PATCH 3/4] Update README.md Co-authored-by: Thomas Widhalm --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index bc026e48..cd201bed 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,6 @@ There are some comments in the Playbook. Either fill them with the correct value collections: - netways.elasticstack vars: - # elastic_stack_full_stack: true elastic_variant: elastic #oss elasticsearch_jna_workaround: true elastic_override_beats_tls: true From 7e35a725bd6d3d833197dfb6e47468024b3a1854 Mon Sep 17 00:00:00 2001 From: pdolinic <71389319+pdolinic@users.noreply.github.com> Date: Thu, 2 Feb 2023 13:43:00 +0100 Subject: [PATCH 4/4] Update README.md Co-authored-by: Thomas Widhalm --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd201bed..cd4ab2b5 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ There are some comments in the Playbook. Either fill them with the correct value ``` --- - hosts: all -# remote_user: my_username + # remote_user: my_username become: true collections: - netways.elasticstack