2025-05/08/grep_einfach.yml
2025-05-14 16:47:41 +02:00

13 lines
195 B
YAML

---
- hosts: localhost
gather_facts: no
tasks:
- name: grep aufrufen
command: grep root /etc/passwd
register: output
- name: Rückgabe ausgeben
debug: var=output