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

Revert and fix 12186 #12205

Merged
merged 2 commits into from
May 10, 2022
Merged

Revert and fix 12186 #12205

merged 2 commits into from
May 10, 2022

Conversation

sarabrajsingh
Copy link
Contributor

@sarabrajsingh sarabrajsingh commented May 10, 2022

SUMMARY
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
  • API
AWX VERSION
21.0.1.dev78+gdd59f0c835

governing issue - #11733
had to revert - #12186
this new PR introduces better ansible-ly logic to deleting folder contents.

@@ -26,10 +26,11 @@
tasks:

- name: delete project directory before update
command: "rm -rf {{project_path}}/* {{project_path}}/.* 2>&-" # volume mounted, cannot delete folder itself
command: "find -delete" # volume mounted, cannot delete folder itself
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yamllint check

warning too few spaces before comment

should be simple space needed

@sarabrajsingh sarabrajsingh merged commit bfa5feb into ansible:devel May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants