2024-09/08/grep_einfach_fehler.yml
2024-09-18 14:10:22 +02:00

14 lines
221 B
YAML

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