Actualizar helloworld

This commit is contained in:
2026-05-06 12:40:43 -06:00
parent 431e8c6969
commit edea899719
+16 -1
View File
@@ -1 +1,16 @@
hello this is my first playbook #hello this is my first playbook
- name: Ejecutar comando dinámico
hosts: all
become: yes
vars:
comando: "{{ command }}"
tasks:
- name: Ejecutar comando recibido
shell: "{{ comando }}"
register: resultado
- name: Mostrar salida
debug:
var: resultado.stdout