13 lines
195 B
YAML
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
|
|
|