Add vars and conditionals to control certs generation and installation
This commit is contained in:
parent
2ad6d87ef7
commit
5a845d69f1
@ -66,3 +66,7 @@ elasticrepo:
|
||||
|
||||
opendistro_admin_password: changeme
|
||||
opendistro_kibana_password: changeme
|
||||
|
||||
# Deployment settings
|
||||
generate_certs: true
|
||||
perform_installation: true
|
||||
@ -1,10 +1,15 @@
|
||||
---
|
||||
|
||||
- import_tasks: local_actions.yml
|
||||
when:
|
||||
- generate_certs == true
|
||||
|
||||
- block:
|
||||
|
||||
- import_tasks: RedHat.yml
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
|
||||
- name: Install OpenDistro
|
||||
package:
|
||||
name: opendistroforelasticsearch-{{ opendistro_version }}
|
||||
@ -85,3 +90,5 @@
|
||||
|
||||
- import_tasks: "RMRedHat.yml"
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
when: perform_installation == true
|
||||
Loading…
Reference in New Issue
Block a user