library/roles/smartgears/oscar_importer_se_plugin/tasks/main.yml: Add a task to install the required package.

This commit is contained in:
Andrea Dell'Amico 2017-07-20 15:39:40 +02:00
parent fcda3ef2b1
commit 12a7a03c26
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,9 @@
maven_artifact: artifact_id={{ oscar_importer_se_plugin_name }} version={{ oscar_importer_se_plugin_version | default(omit) }} group_id={{ oscar_importer_se_plugin_group_id }} extension={{ oscar_importer_se_plugin_extension | default('war') }} repository_url={{ smartgears_global_base_url }} classifier={{ oscar_importer_se_plugin_classifier }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ oscar_importer_se_plugin_file }}
notify: Restart smartgears
- name: Install the libnetcdfc7 package
apt: pkg=libnetcdfc7 state=present update_cache=yes cache_valid_time=1800
become: True
become_user: '{{ smartgears_user }}'
when: oscar_importer_se_plugin_install