nixos-servers/legacy/projects/hermes/ansible/show_leases.yml

11 lines
216 B
YAML
Raw Normal View History

---
- hosts: hermes
tasks:
- name: Read dnsmasq leases
command: cat /mnt/data/dnsmasq.leases
register: leases
- name: Print dnsmasq leases
debug:
msg: "{{ leases.stdout_lines }}"