2024-09/08/grep_einfach.yml

13 lines
195 B
YAML
Raw Normal View History

2024-09-18 12:10:22 +00:00
---
- hosts: localhost
gather_facts: no
tasks:
- name: grep aufrufen
command: grep root /etc/passwd
register: output
- name: Rückgabe ausgeben
debug: var=output