mirror of
https://github.com/schnidrig/openhab-ansible
synced 2026-01-12 00:48:46 +01:00
docker stuff
This commit is contained in:
17
roles/openhab/tasks/docker/scripts.yml
Normal file
17
roles/openhab/tasks/docker/scripts.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
|
||||
- name: create scripts dir
|
||||
file:
|
||||
dest: "/home/pi/bin"
|
||||
state: directory
|
||||
|
||||
- name: create scripts
|
||||
template:
|
||||
src: "{{ item }}.sh"
|
||||
dest: "/home/pi/bin/{{ item }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "u=rwx,g=xr,o=rx"
|
||||
loop:
|
||||
- client
|
||||
- backup
|
||||
Reference in New Issue
Block a user