projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tuer: Make installed binaries executable
[noc.git]
/
ansible
/
tuer.yml
diff --git
a/ansible/tuer.yml
b/ansible/tuer.yml
index
9989e0d
..
1ed9f12
100644
(file)
--- a/
ansible/tuer.yml
+++ b/
ansible/tuer.yml
@@
-67,10
+67,13
@@
openwrt_mixin:
# Go binaries
/usr/local/bin/door_client:
openwrt_mixin:
# Go binaries
/usr/local/bin/door_client:
+ mode: 0755
file: "{{ playbook_dir }}/.cache/openwrt/tuer/door_and_sensors/door_client/door_client"
/usr/local/bin/door_daemon:
file: "{{ playbook_dir }}/.cache/openwrt/tuer/door_and_sensors/door_client/door_client"
/usr/local/bin/door_daemon:
+ mode: 0755
file: "{{ playbook_dir }}/.cache/openwrt/tuer/door_and_sensors/door_daemon/door_daemon"
/usr/local/bin/update-keys:
file: "{{ playbook_dir }}/.cache/openwrt/tuer/door_and_sensors/door_daemon/door_daemon"
/usr/local/bin/update-keys:
+ mode: 0755
file: "{{ playbook_dir }}/.cache/openwrt/tuer/door_and_sensors/update-keys/update-keys"
/etc/config/network:
file: "{{ playbook_dir }}/.cache/openwrt/tuer/door_and_sensors/update-keys/update-keys"
/etc/config/network:
@@
-101,8
+104,8
@@
option RootPasswordAuth 'off'
option Port '22000'
option RootPasswordAuth 'off'
option Port '22000'
- # TODO: mode needs to be 0600
/etc/dropbear/authorized_keys:
/etc/dropbear/authorized_keys:
+ mode: 0600
content: |-
{% for key in noc_ssh_keys %}
{{ key }}
content: |-
{% for key in noc_ssh_keys %}
{{ key }}