You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible
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>
4 years ago
..
_vendor transparent downstream vendoring (#69850) 4 years ago
cli ansible-vault: Fix typo in help message (#71485) 4 years ago
collections collection routing (#67684) 4 years ago
compat Updated bundled libraries (#70418) 4 years ago
config skydive.skydive was renamed to community.skydive (#71357) 4 years ago
errors Make filter type errors 'loop friendly' (#70417) 4 years ago
executor Fix passing the connection timeout to connection plugins (#71722) 4 years ago
galaxy ansible-galaxy - fix download for subdirs in SCM (#71005) 4 years ago
inventory don't set warn = True, it will be overwritten in the next line (#71682) 4 years ago
module_utils Let get_file_attributes() work without `lsattr -v` (#71845) 4 years ago
modules Reduce ignored module sanity tests (#70319) 4 years ago
parsing Add more include and yaml parsing tests (#70506) 4 years ago
playbook Allow meta tasks to use tags (#67508) 4 years ago
plugins [default callback] Show include_tasks task banner (#71821) 4 years ago
template Provide more information in AnsibleUndefinedVariable (#71666) 4 years ago
utils fix coverage output from synthetic packages (#71727) 4 years ago
vars add jinja2 global to reserved names (#71088) 4 years ago
__init__.py transparent downstream vendoring (#69850) 4 years ago
constants.py Remove some constants.py deprecated items (#70466) 4 years ago
context.py Become plugins (#50991) 5 years ago
release.py Bump devel to 2.11.0 (#70121) 4 years ago