Skip to content
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

Install cryptography Python library #213

Merged
merged 9 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
1 change: 0 additions & 1 deletion docs/role-beats.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Requirements

You need to have the beats you want to install available in your software repositories. We provide a [role](./role-repos.md) for just that but if you have other ways of managing software, just make sure it's available. Alternatively you can install the Beats yourself.

* `cryptography` >= 2.5
* `community.crypto` collection: ansible-galaxy collection install community.crypto

Role Variables
Expand Down
5 changes: 0 additions & 5 deletions docs/role-elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ If you use the role to set up security you, can use its CA to create certificate

Please note that setting `elasticsearch_bootstrap_pw` as variable will only take effect when initialising Elasticsearch. Changes after starting elasticsearch for the first time will not change the bootstrap password for the instance and will lead to breaking tests.

Requirements
------------

* `cryptography` >= 2.5

Role Variables
--------------

Expand Down
5 changes: 0 additions & 5 deletions docs/role-kibana.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ Ansible Role: Kibana

This roles installs and configures Kibana.

Requirements
------------

* `cryptography` >= 2.5

Role Variables
--------------

Expand Down
1 change: 0 additions & 1 deletion docs/role-logstash.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Requirements
------------

* `community.general` collection
* `cryptography` >= 2.5

You need to have the Elastic Repos configured on your system. You can use our [role](./role-repos.md)

Expand Down
4 changes: 4 additions & 0 deletions roles/elasticsearch/tasks/elasticsearch-security.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---

- name: Make sure cryptography Elasticsearch module is installed
package:
name: "{{ elasticsearch_pythoncryptography_pkgname }}"

- name: Set elasticstack_ca variable if not already done by user
set_fact:
elasticstack_ca: "{{ groups['elasticsearch'][0] }}"
Expand Down
1 change: 1 addition & 0 deletions roles/elasticsearch/vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

elasticsearch_sysconfig_file: /etc/default/elasticsearch
elasticsearch_pythoncryptography_pkgname: python3-cryptography
elasticstack_versionseparator: "="
1 change: 1 addition & 0 deletions roles/elasticsearch/vars/RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

elasticsearch_sysconfig_file: /etc/sysconfig/elasticsearch
elasticsearch_pythoncryptography_pkgname: python-cryptography
elasticstack_versionseparator: "-"