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:
2020-11-06 14:21:19 -03:00
parent d4ff91bbf3
commit dc2486b339
No known key found for this signature in database
GPG Key ID: 7EA1832E7E17237E
2 changed files with 133 additions and 133 deletions

View File

@ -35,7 +35,10 @@
when: install.changed
tags: install
- import_tasks: security_actions.yml
- include_tasks: security_actions.yml
tags:
- security
when: install.changed
- name: Configure OpenDistro Elasticsearch JVM memmory.
template:

View File

@ -1,4 +1,3 @@
- block:
- name: Remove demo certs
file:
path: "{{ item }}"
@ -147,6 +146,4 @@
when:
- opendistro_custom_user is defined and opendistro_custom_user
tags:
- security
when: install.changed