updated dependency and removed 4.15.07 support
diff --git a/meta/main.yml b/meta/main.yml index c493f0b..e9668c2 100644 --- a/meta/main.yml +++ b/meta/main.yml
@@ -12,4 +12,5 @@ galaxy_tags: - apigee - opdk -dependencies: [] +dependencies: +- { role: apigee-opdk-setup-default-settings }
diff --git a/tasks/4150703-main.yml b/tasks/4150703-main.yml deleted file mode 100644 index fd739c0..0000000 --- a/tasks/4150703-main.yml +++ /dev/null
@@ -1,47 +0,0 @@ ---- -# tasks file for apigee-opdk-setup-installer - -- name: Check for existence of installation archive - stat: - path: "{{ opdk_installer_archive_path }}" - register: archive_exists - when: opdk_version | version_compare('4.15.07', '<=') - -- name: Check for expansion of binaries - stat: - path: "{{ opdk_installer_path }}/{{ opdk_installer_file_basename }}" - register: expanded - when: opdk_version | version_compare('4.15.07', '<=') - -- name: Upload installation binaries - copy: - src: "{{ opdk_installer_archive_name }}" - dest: "{{ opdk_installer_archive_path }}" - register: results - when: not archive_exists.stat.exists and not expanded.stat.exists and opdk_version | version_compare('4.15.07', '<=') - -- name: Uncompress binaries on servers - unarchive: - copy: no - src: "{{ opdk_installer_archive_path }}" - dest: "{{ opdk_staging_path_prefix }}" - owner: '{{ opdk_user_name }}' - group: '{{ opdk_group_name }}' - when: not expanded.stat.exists and opdk_version | version_compare('4.15.07', '<=') - -- name: Check for existence of apigee home dir - stat: - path: "{{ apigee_installation_home }}/var/log" - register: opdk - when: opdk_version | version_compare('4.15.07', '<=') - -- name: Run Apigee Install - shell: "{{ opdk_installer_path }}/apigee-install.sh -r {{ apigee_installation_path_prefix }} -d {{ apigee_data_path_prefix }} -j {{ java_home }}" - when: not opdk.stat.exists - register: install_status - when: opdk_version | version_compare('4.15.07', '<=') - -- name: Apigee install status report - debug: - var: install_status - when: opdk_version | version_compare('4.15.07', '<=')
diff --git a/tasks/main.yml b/tasks/main.yml index f4a00c9..4602ec0 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -6,9 +6,6 @@ mode: 0644 force: yes -- include: 4150703-main.yml - when: opdk_version | version_compare('4.16', '<') - - name: Install Apigee Setup shell: 'bash {{ apigee_service }} apigee-setup install' args: