summaryrefslogtreecommitdiff
path: root/files/xattr.py
diff options
context:
space:
mode:
Diffstat (limited to 'files/xattr.py')
-rw-r--r--files/xattr.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/files/xattr.py b/files/xattr.py
index 8f12c853..02af9f97 100644
--- a/files/xattr.py
+++ b/files/xattr.py
@@ -63,13 +63,20 @@ author: "Brian Coca (@bcoca)"
EXAMPLES = '''
# Obtain the extended attributes of /etc/foo.conf
-- xattr: name=/etc/foo.conf
+- xattr:
+ name: /etc/foo.conf
# Sets the key 'foo' to value 'bar'
-- xattr: path=/etc/foo.conf key=user.foo value=bar
+- xattr:
+ path: /etc/foo.conf
+ key: user.foo
+ value: bar
# Removes the key 'foo'
-- xattr: name=/etc/foo.conf key=user.foo state=absent
+- xattr:
+ name: /etc/foo.conf
+ key: user.foo
+ state: absent
'''
import operator