summaryrefslogtreecommitdiff
path: root/examples/archive-extract-bootlog.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/archive-extract-bootlog.yaml')
-rw-r--r--examples/archive-extract-bootlog.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/archive-extract-bootlog.yaml b/examples/archive-extract-bootlog.yaml
new file mode 100644
index 0000000..7816a86
--- /dev/null
+++ b/examples/archive-extract-bootlog.yaml
@@ -0,0 +1,11 @@
+tasks:
+ - name: Extraer solo boot.log desde logs.tar.gz
+ module: archive
+ args:
+ action: extract
+ format: tar
+ archive: /tmp/logs.tar.gz
+ dest: /tmp/extraccion/
+ files: var/log/boot.log
+ become: true
+