roles/opendistro: switch from import_tasks to include_tasks, move block tag and conditional from security_actions.yml to main.yml
This commit is contained in:
parent
d4ff91bbf3
commit
dc2486b339
@ -35,7 +35,10 @@
|
|||||||
when: install.changed
|
when: install.changed
|
||||||
tags: install
|
tags: install
|
||||||
|
|
||||||
- import_tasks: security_actions.yml
|
- include_tasks: security_actions.yml
|
||||||
|
tags:
|
||||||
|
- security
|
||||||
|
when: install.changed
|
||||||
|
|
||||||
- name: Configure OpenDistro Elasticsearch JVM memmory.
|
- name: Configure OpenDistro Elasticsearch JVM memmory.
|
||||||
template:
|
template:
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
- block:
|
|
||||||
- name: Remove demo certs
|
- name: Remove demo certs
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
@ -147,6 +146,4 @@
|
|||||||
when:
|
when:
|
||||||
- opendistro_custom_user is defined and opendistro_custom_user
|
- opendistro_custom_user is defined and opendistro_custom_user
|
||||||
|
|
||||||
tags:
|
|
||||||
- security
|
|
||||||
when: install.changed
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user