2024-09/08/grep_einfach_fehler.yml

14 lines
221 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 toor /etc/passwd
register: output
ignore_errors: true
- name: Rückgabe ausgeben
debug: var=output