diff --git a/lib/ansible/modules/extras/system/capabilities.py b/lib/ansible/modules/extras/system/capabilities.py index aa0785f6f6..009507669f 100644 --- a/lib/ansible/modules/extras/system/capabilities.py +++ b/lib/ansible/modules/extras/system/capabilities.py @@ -55,10 +55,16 @@ author: "Nate Coraor (@natefoo)" EXAMPLES = ''' # Set cap_sys_chroot+ep on /foo -- capabilities: path=/foo capability=cap_sys_chroot+ep state=present +- capabilities: + path: /foo + capability: cap_sys_chroot+ep + state: present # Remove cap_net_bind_service from /bar -- capabilities: path=/bar capability=cap_net_bind_service state=absent +- capabilities: + path: /bar + capability: cap_net_bind_service + state: absent '''