14 lines
221 B
YAML
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
|
|
|