2024-09/08/grep_einfach.yml
2024-09-18 14:10:22 +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