aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: a74ef1bfe7b4987fe44a8ba2b4d2ea321cb8fdd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# avahi

Manage `avahi` service files.

##### requirements.yml

```yaml
roles:
  - src: git+https://git.segundo.io/Ansible/avahi
    name: avahi
```

### Example playbook

```yaml
---
- hosts: foo
  roles:
    - role: avahi
      vars:
        avahi_service_groups:
          - filename: smb
            name: '%h'
            attributes:
              replace-wildcards: 'yes'
            services:
              - type: _smb._tcp
                port: 445
              - type: _device-info._tcp
                txt-records:
                  - value: model=TimeCapsule8,119
              - type: _adisk._tcp
                txt-records:
                  - value: dk0=adVN=timemachine,adVF=0x82
                  - value: sys=waMa=0,adVF=0x100
```