troubleshooting logic
diff --git a/tasks/main.yml b/tasks/main.yml index 6809ed1..48c6132 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -1,14 +1,14 @@ --- # tasks file for opdk-setup-validate-cleanup -- name: Validate OPDK Installation +- name: Validate OPDK Installation for version {{ opdk_version }} ignore_errors: yes shell: '{{ apigee_service }} apigee-validate clean -f {{ apigee_validate_config_file }}' when: opdk_version | version_compare('4.16.01', '==') -- name: Validate OPDK Installation +- name: Validate OPDK Installation for version {{ opdk_version }} expect: command: '{{ apigee_service }} apigee-validate clean -f {{ apigee_validate_config_file }}' responses: - 'Do you really want to continue? y/n': 'y' + '(?i)y/n:': y when: opdk_version | version_compare('4.16.01', '>')