wget install wsdd
This commit is contained in:
@@ -6,18 +6,14 @@ wsdd:
|
|||||||
service.running:
|
service.running:
|
||||||
- enable: True
|
- enable: True
|
||||||
- watch:
|
- watch:
|
||||||
- file: wsdd
|
- cmd: install wsdd
|
||||||
- file: wsdd.py
|
|
||||||
|
|
||||||
service.systemctl_reload:
|
service.systemctl_reload:
|
||||||
module.run:
|
module.run:
|
||||||
- onchanges:
|
- onchanges:
|
||||||
- file: /lib/systemd/system/wsdd.service
|
- file: /lib/systemd/system/wsdd.service
|
||||||
|
|
||||||
wsdd.py:
|
install wsdd:
|
||||||
file.managed:
|
cmd.run:
|
||||||
- name: /usr/bin/wsdd
|
- name: wget -O /usr/bin/wsdd https://raw.githubusercontent.com/christgau/wsdd/refs/tags/v0.9/src/wsdd.py && chmod +x /usr/bin/wsdd
|
||||||
- mode: 755
|
- creates: /usr/bin/wsdd
|
||||||
- source: https://raw.githubusercontent.com/christgau/wsdd/d1c0d3e31768646326a15d9eaef28ec9a3180023/src/wsdd.py
|
|
||||||
- source_hash: 2b7bd278e38d85c1742aba5d95bd9d81
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user