20 lines
411 B
YAML
20 lines
411 B
YAML
- name: Install Avahi Daemon
|
|
ansible.builtin.apt:
|
|
pkg:
|
|
- avahi-daemon
|
|
state: present
|
|
|
|
- name: Enable Avahi Daemon Service
|
|
ansible.builtin.service:
|
|
name: avahi-daemon
|
|
state: started
|
|
enabled: true
|
|
|
|
- name: Copy Avahi SSH service configuration
|
|
ansible.builtin.copy:
|
|
src: ssh.service
|
|
dest: /etc/avahi/services/ssh.service
|
|
mode: "644"
|
|
notify:
|
|
- Restart Avahi Daemon
|