You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This introduces a new variable that will disable yum repositories per
default and re-enables them temporarily when modifying packages. It's
not possible to disable apt repositories temporarily so we need to have
two different approaches.
fixes#106fixes#76fixes#98
supersedes #101
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
3
3
This collection installs and manages the Elastic Stack. It provides roles every component which is part of the Stack. Furthermore it is possible to differentiate between Enterprise or OSS releases. Every role is documented with all variables, please refer to the documentation found in **[Getting-Started](./docs/getting-started.md)**
4
4
5
-
6
-
7
5
## Roles Documentation
8
6
9
7
*[Beats](docs/role-beats.md)
@@ -56,6 +54,10 @@ We have known issues with the following Distributions.
56
54
57
55
## Usage
58
56
57
+
**elastic_version*: Version number of tools to install Only set if you don't want the latest. (default: none). For OSS version see `elastic_variant` below. **IMPORTANT** Do not change the version once you have set up the stack. There are unpredictable effects to be expected when using this for upgrades. And upgrade mechanism is already on it's way. (default: none. Example: `7.17.2`
58
+
*elastic_release*: Major release version of Elastic stack to configure. (default: `7`)
59
+
*elastic_variant*: Variant of the stack to install. Valid values: `elastic` or `oss`. (default: `elastic`)
60
+
59
61
Make sure all hosts that should be configured are part of your playbook. (See below for details on groups etc.). The collection is built to first collect all facts from all hosts (including those only running beats) and then use facts like hostnames or ip addresses to connect the tools to each other.
60
62
61
63
You will want to have reliable DNS resolution or enter all hosts of the stack into your systems hosts files.
Copy file name to clipboardExpand all lines: docs/role-beats.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,6 @@ Role Variables
14
14
--------------
15
15
16
16
**beats_filebeat*: Install and manage filebeat (Default: `true`)
17
-
**beats_filebeat_version*: Install specific version (Default: none. Possible values: e.g. `-7.10.1` for RedHat compatible systems or `=1:7.10.1-1` for Debian compatible systems or `latest`)
**filebeat_output*: Set to `logstash` or `elasticsearch`. (default: `logstash`)
20
19
**filebeat_syslog_udp*: Use UDP Syslog input (Default: `false`)
@@ -66,14 +65,12 @@ filebeat_journald_inputs:
66
65
**filebeat_modules*: **EXPERIMENTAL**: Give a list of modules to enable. (default: none)
67
66
68
67
**beats_auditbeat*: Install and manage filebeat (Default: `false`)
69
-
**beats_auditbeat_version*: Install specific version (Default: none. Possible values: e.g. `-7.10.1` for RedHat compatible systems or `=1:7.10.1-1` for Debian compatible systems or `latest`)
70
68
**auditbeat_output*: Output for Auditbeat Set to `logstash` or `elasticsearch`. (default: `elasticsearch`)
**auditbeat_setup*: Run Auditbeat Setup (Default: `true`) (Only works with Elasticsearch output)
73
71
**auditbeat_loadbalance*: Enable loadbalancing for Auditbeats Logstash output (default: `true`)
74
72
75
73
**beats_metricbeat*: Enable installation and management of Metricbeat (Default: `false`)
76
-
**beats_metricbeat_version*: Install specific version (Default: none. Possible values: e.g. `-7.10.1` for RedHat compatible systems or `=1:7.10.1-1` for Debian compatible systems or `latest`)
**metricbeat_output*: Set to `logstash` or `elasticsearch`. (default: `elasticsearch`)
79
76
**metricbeat_modules*: List of modules to enable. (Default: `- system`)
@@ -96,6 +93,7 @@ The following variables only apply if you use this role together with our other
96
93
**elastic_ca_dir*: Directory where on the Elasticsearch CA host certificates are stored. This is only useful in connection with out other Elastic Stack related roles. (default: `/opt/es-ca`)
97
94
**elastic_ca_pass*: Password for Elasticsearch CA (default: `PleaseChangeMe`)
98
95
**elastic_initial_passwords*: Path to file with initical elasticsearch passwords (default: `/usr/share/elasticsearch/initial_passwords`)
96
+
**elastic_version*: Install specific version (Default: none. Possible values: e.g. `7.10.1` or `latest`)
99
97
100
98
If you want to use this role with your own TLS certificates, use these variables.
Copy file name to clipboardExpand all lines: docs/role-logstash.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ If you want to use the default pipeline (or other pipelines communicating via Re
29
29
Role Variables
30
30
--------------
31
31
32
-
**logstash_version*: Version number of Logstash to install (use os specific version string. e.g. `-7.10.1` for RedHat compatible systems or `=1:7.10.1-1` for Debian compatible systems). Only set if you don't want the latest. (default: none). For OSS version see `elastic_variant` below.
32
+
**elastic_version*: Version number of Logstash to install (e.g. `7.10.1`). Only set if you don't want the latest. (default: none). For OSS version see `elastic_variant` below.
33
33
**logstash_enable*: Start and enable Logstash service (default: `true`)
34
34
**logstash_config_backup*: Keep backups of all changed configuration (default: `no`)
35
35
**logstash_manage_yaml*: Manage and overwrite `logstash.yml` (default: `true`)
Copy file name to clipboardExpand all lines: docs/role-repos.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,21 @@ Role Variables
18
18
19
19
**elastic_release*: Major release version of Elastic stack to configure. (default: `7`). `7` and `8` are supported.
20
20
**elastic_variant*: Variant of the stack to install. Valid values: `elastic` or `oss`. (default: `elastic`).
21
+
**elastic_enable_repos*: Enable repositories after creating them. (default: `true`) Only works on RPM based distributions!
21
22
22
23
Please note that no `oss` versions are available for Elastic Stack later than `7`. This role will fail if you try to install them.
23
24
24
25
Usage
25
26
--------
26
27
28
+
Upgrades
29
+
========
30
+
31
+
If you want to be able to update your operating system without worrying about accidentally upgrading Elastic Stack, set `elastic_enable_repos` to `false`. The roles in this collection will enable the repository in case they need it. Keep in mind that this will only work on rpm based distributions.
0 commit comments