Test improvements for xpack + httplib2 support
This commit is contained in:
parent
a149328ae8
commit
d73e515de3
12 changed files with 166 additions and 21 deletions
|
|
@ -26,3 +26,7 @@
|
|||
apt: deb=/tmp/elasticsearch-{{ es_version }}.deb
|
||||
when: not es_use_repository
|
||||
register: elasticsearch_install_from_package
|
||||
|
||||
# ansible uri module requires httplib2
|
||||
- name: pip httplib2
|
||||
pip: name=httplib2 extra_args="--user"
|
||||
|
|
@ -20,3 +20,7 @@
|
|||
yum: name={% if es_custom_package_url is defined %}{{ es_custom_package_url }}{% else %}{{ es_package_url }}-{{ es_version }}.noarch.rpm{% endif %} state=present
|
||||
when: not es_use_repository
|
||||
register: elasticsearch_install_from_package
|
||||
|
||||
# ansible uri module requires httplib2
|
||||
- name: pip httplib2
|
||||
pip: name=httplib2 extra_args="--user"
|
||||
|
|
@ -23,11 +23,10 @@
|
|||
CONF_DIR: "{{ conf_dir }}"
|
||||
ES_INCLUDE: "{{ instance_default_file }}"
|
||||
|
||||
|
||||
- name: Set Plugin Directory Permissions
|
||||
file: state=directory path={{ es_home }}/plugins owner={{ es_user }} group={{ es_group }} recurse=yes
|
||||
|
||||
- include: elasticsearch-shield.yml
|
||||
- include: shield/elasticsearch-shield.yml
|
||||
when: '"shield" in es_xpack_features'
|
||||
|
||||
#Any other xpacks plugins requiring configuration to be entered here
|
||||
#Any other xpacks plugins requiring configuration to be entered here
|
||||
|
||||
- name: Set Plugin Directory Permissions
|
||||
file: state=directory path={{ es_home }}/plugins owner={{ es_user }} group={{ es_group }} recurse=yes
|
||||
|
|
@ -37,7 +37,6 @@
|
|||
notify: load-native-realms
|
||||
when: (es_users is defined and es_users.native is defined) or (es_roles is defined and es_roles.native is defined)
|
||||
|
||||
|
||||
#Ensure shield conf directory is created
|
||||
- name: Ensure shield conf directory exists
|
||||
file: path={{ conf_dir }}/shield state=directory owner={{ es_user }} group={{ es_group }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue