summaryrefslogtreecommitdiff
path: root/examples/archive-extract-tar.gz.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/archive-extract-tar.gz.yaml')
-rw-r--r--examples/archive-extract-tar.gz.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/archive-extract-tar.gz.yaml b/examples/archive-extract-tar.gz.yaml
new file mode 100644
index 0000000..3e8863b
--- /dev/null
+++ b/examples/archive-extract-tar.gz.yaml
@@ -0,0 +1,9 @@
+tasks:
+ - name: Extraer backup
+ module: archive
+ args:
+ action: extract
+ format: tar
+ archive: /tmp/logs.tar.gz
+ dest: /tmp/restore
+ become: true