summaryrefslogtreecommitdiff
path: root/examples/loop_matrix.yaml
diff options
context:
space:
mode:
authorluisgulo <luisgulo@gmail.com>2025-10-24 18:01:10 +0200
committerluisgulo <luisgulo@gmail.com>2025-10-24 18:01:10 +0200
commit533e79ba959143f0459431a486bfb85c56c72ddc (patch)
tree91974de1bbbdc4c51c76ed591fc5c6e02a3342b6 /examples/loop_matrix.yaml
parent45019c81cfd0fc1d18dce18cdfd5f127c6d61073 (diff)
Releasing code version 1.8.0
Diffstat (limited to 'examples/loop_matrix.yaml')
-rw-r--r--examples/loop_matrix.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/loop_matrix.yaml b/examples/loop_matrix.yaml
new file mode 100644
index 0000000..35253db
--- /dev/null
+++ b/examples/loop_matrix.yaml
@@ -0,0 +1,14 @@
+hosts: localhost
+parallelism: false
+
+tasks:
+ - name: Probar conectividad entre múltiples orígenes y destinos
+ module: loop
+ args:
+ items: "equipo1:192.168.1.1,equipo2:10.0.0.1"
+ secondary: "8.8.8.8,1.1.1.1"
+ module: ping
+ count: 2
+ timeout: 3
+ target: "{{secondary_item}}"
+ become: true