10 lines
216 B
YAML
10 lines
216 B
YAML
---
|
|
- hosts: hermes
|
|
tasks:
|
|
- name: Read dnsmasq leases
|
|
command: cat /mnt/data/dnsmasq.leases
|
|
register: leases
|
|
|
|
- name: Print dnsmasq leases
|
|
debug:
|
|
msg: "{{ leases.stdout_lines }}"
|