Rename importing blocks

This commit is contained in:
Jose M 2019-07-01 12:31:03 +02:00
parent bd32839f27
commit db6f69cfb8

View File

@ -116,7 +116,7 @@
- elasticsearch_xpack_security
tags: xpack-security
- name: Copy .key & .crt files in generator node
- name: Copy key & certificate files in generator node (locally)
synchronize:
src: "{{node_certs_source}}/{{elasticsearch_node_name}}/"
dest: "{{node_certs_destination}}/"
@ -126,7 +126,7 @@
- elasticsearch_xpack_security
tags: xpack-security
- name: Copy ca .crt file in generator node
- name: Copy ca certificate file in generator node (locally)
synchronize:
src: "{{node_certs_source}}/ca/"
dest: "{{node_certs_destination}}/"
@ -136,14 +136,14 @@
- elasticsearch_xpack_security
tags: xpack-security
- name: Importing node .key & .crt files
- name: Importing key & certificate files from generator node
shell: "{{rsync_path}} {{rsync_extra_parameters}} {{rsync_user}}@{{node_certs_generator_ip}}:{{node_certs_source}}/{{elasticsearch_node_name}}/ {{node_certs_destination}}/"
when:
- not node_certs_generator
- elasticsearch_xpack_security
tags: xpack-security
- name: Importing node ca .crt file
- name: Importing ca certificate file from generator node
shell: "{{rsync_path}} {{rsync_extra_parameters}} {{rsync_user}}@{{node_certs_generator_ip}}:{{node_certs_source}}/ca/ {{node_certs_destination}}/"
when:
- not node_certs_generator