Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect behaviour in case of nonexisting SAR file #27

Open
1 task done
machacekondra opened this issue Aug 18, 2022 · 1 comment
Open
1 task done

Incorrect behaviour in case of nonexisting SAR file #27

machacekondra opened this issue Aug 18, 2022 · 1 comment

Comments

@machacekondra
Copy link

Summary

When you pass nonexisting sar file the module should exit with reasonable error message, rather then "already unpacked".

Issue Type

Bug Report

Component Name

sapcar_extract

Ansible Version

$ ansible --version
2.12

Community.sap Version

$ ansible-galaxy collection list community.sap

latest

Configuration

$ ansible-config dump --only-changed

OS / Environment

No response

Steps to Reproduce

- name: Unpack SAR files
  community.sap.sapcar_extract:
    path: "dontexists.sar"
    dest: "dontexists-extracted"

Expected Results

Return code, so I know the file can't be extracted

Actual Results

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@rainerleber
Copy link
Collaborator

Hi @machacekondra thank you for opening this issue.
At first:
This collection is deprecated, not maintained anymore and superseded by the collection community.sap_libs

Could you please open the issue at the new place ? I will take care of it in the "new" collection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants