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

Fix file integration test chattr/lsattr check. #78614

Merged
merged 1 commit into from Aug 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/integration/targets/file/tasks/main.yml
Expand Up @@ -151,8 +151,10 @@
attributes_supported: yes
when:
- attribute_A_set is success
- attribute_A_set.stdout_lines
- "'A' in attribute_A_set.stdout_lines[0].split()[0]"
- attribute_A_unset is success
- attribute_A_unset.stdout_lines
- "'A' not in attribute_A_unset.stdout_lines[0].split()[0]"

- name: explicitly set file attribute "A"
Expand Down