summaryrefslogtreecommitdiff
path: root/examples/apt-update.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/apt-update.yaml')
-rw-r--r--examples/apt-update.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/apt-update.yaml b/examples/apt-update.yaml
new file mode 100644
index 0000000..7663dcd
--- /dev/null
+++ b/examples/apt-update.yaml
@@ -0,0 +1,13 @@
+tasks:
+ - name: Actualizar datos del Repo
+ module: run
+ args:
+ command: "apt-get -y update"
+ become: true
+
+ - name: Actualizar SO
+ module: run
+ args:
+ command: "apt-get -y upgrade"
+ become: true
+