Get information about linux capability of given file.
Version added: 0.3.0
- Get information about linux capability of given file.
- https://reposcope.com/package/libcap
- It requires libcap package.
Parameter | Choices/Defaults | Comments |
---|---|---|
path
string
/ required
|
path of the file.
|
- name: get all linux capabilities for ping binary
community.missing_collection.capabilities_info:
path: '/usr/bin/ping'
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
capabilities
list
|
when success. |
list of the linux capabilites.
Sample:
['cap_net_bind_service', 'cap_net_admin=ep']
|
- Davinder Pal (@116davinder) <[email protected]>