ansible/test/integration/targets/file/tasks
Rick Elrod 5cd489af06
Let get_file_attributes() work without lsattr -v (#71845)
* Let get_file_attributes() work without `lsattr -v`

Change:
- module_utils's get_file_attributes() expects `lsattr -v` to work, but
  in some cases, it may not.
- The function now takes an optional include_version bool parameter,
  which removes this expectation.
- Places where we call get_file_attributes() without using the 'version'
  it returns, we now call it with include_version=False.

Test Plan:
- New unit tests

Signed-off-by: Rick Elrod <rick@elrod.me>
2020-09-22 16:15:47 -05:00
..
diff_peek.yml file - change _diff_peek type in argument_spec (#60428) 2020-01-17 16:02:28 -05:00
directory_as_dest.yml Add pause to avoid same mtime in test. 2020-09-02 15:35:08 -07:00
initialize.yml
main.yml Let get_file_attributes() work without lsattr -v (#71845) 2020-09-22 16:15:47 -05:00
selinux_tests.yml
state_link.yml Pull timezone's incidental file coverage into file tests (#68247) 2020-03-23 15:28:53 -07:00
unicode_path.yml