20 lines
487 B
Plaintext
20 lines
487 B
Plaintext
|
|
wsdd:
|
|
file.managed:
|
|
- name: /lib/systemd/system/wsdd.service
|
|
- source: salt://samba/files/wsdd.service
|
|
service.running:
|
|
- enable: True
|
|
- watch:
|
|
- cmd: install wsdd
|
|
|
|
service.systemctl_reload:
|
|
module.run:
|
|
- onchanges:
|
|
- file: /lib/systemd/system/wsdd.service
|
|
|
|
install wsdd:
|
|
cmd.run:
|
|
- name: wget -O /usr/bin/wsdd https://raw.githubusercontent.com/christgau/wsdd/refs/tags/v0.9/src/wsdd.py && chmod +x /usr/bin/wsdd
|
|
- creates: /usr/bin/wsdd
|