summaryrefslogtreecommitdiff
path: root/examples/ls.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ls.yaml')
-rw-r--r--examples/ls.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/ls.yaml b/examples/ls.yaml
new file mode 100644
index 0000000..e9ba61e
--- /dev/null
+++ b/examples/ls.yaml
@@ -0,0 +1,13 @@
+tasks:
+ - name: Listar directorios tmp
+ module: run
+ args:
+ command: "ls -l /tmp"
+ become: false
+
+ - name: Listar directorios /root
+ module: run
+ args:
+ command: "ls -l /root"
+ become: true
+