Add ansible provisioning (#122)
* first ansible skeleton * first commit of ansible installation of vulnwhisperer outside docker * first ansible skeleton * first commit of ansible installation of vulnwhisperer outside docker * refactor the ansible role a bit * update readme, add fail validation step to provision.yml and fix typo when calling a logging funciton
This commit is contained in:

committed by
Quim Montal

parent
a8671a7303
commit
3a09f60543
4
ansible/roles/elastic.elasticsearch/vars/Debian.yml
Normal file
4
ansible/roles/elastic.elasticsearch/vars/Debian.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
java: "{% if es_java is defined %}{{es_java}}{% else %}openjdk-8-jre-headless{% endif %}"
|
||||
default_file: "/etc/default/elasticsearch"
|
||||
es_home: "/usr/share/elasticsearch"
|
4
ansible/roles/elastic.elasticsearch/vars/RedHat.yml
Normal file
4
ansible/roles/elastic.elasticsearch/vars/RedHat.yml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
java: "{{ es_java | default('java-1.8.0-openjdk.x86_64') }}"
|
||||
default_file: "/etc/sysconfig/elasticsearch"
|
||||
es_home: "/usr/share/elasticsearch"
|
8
ansible/roles/elastic.elasticsearch/vars/main.yml
Normal file
8
ansible/roles/elastic.elasticsearch/vars/main.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
es_package_url: "https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch"
|
||||
es_conf_dir: "/etc/elasticsearch"
|
||||
sysd_script: "/usr/lib/systemd/system/elasticsearch.service"
|
||||
init_script: "/etc/init.d/elasticsearch"
|
||||
#add supported features here
|
||||
supported_xpack_features: ["alerting","monitoring","graph","security"]
|
||||
reserved_xpack_users: ["elastic","kibana","logstash_system"]
|
Reference in New Issue
Block a user