projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tuer: Add stuff for tuergit
[noc.git]
/
ansible
/
tuer.yml
diff --git
a/ansible/tuer.yml
b/ansible/tuer.yml
index
4b3bd7a
..
8183e5f
100644
(file)
--- a/
ansible/tuer.yml
+++ b/
ansible/tuer.yml
@@
-65,6
+65,7
@@
- "-dropbear"
- openssh-server
- git
- "-dropbear"
- openssh-server
- git
+ - sudo
openwrt_mixin:
# Go binaries
openwrt_mixin:
# Go binaries
@@
-82,6
+83,10
@@
mode: '0755'
file: "{{ playbook_dir }}/files/tuer/authorized_keys.sh"
mode: '0755'
file: "{{ playbook_dir }}/files/tuer/authorized_keys.sh"
+ /usr/local/bin/update-keys-from-stdin.sh:
+ mode: '0755'
+ file: "{{ playbook_dir }}/files/tuer/update-keys-from-stdin.sh"
+
/etc/ssh/sshd_config:
content: |-
Port 22000
/etc/ssh/sshd_config:
content: |-
Port 22000
@@
-107,6
+112,12
@@
{{ key }}
{% endfor %}
{{ key }}
{% endfor %}
+ /etc/ssh/authorized_keys.d/tuergit:
+ content: |-
+ {% for key in noc_ssh_keys %}
+ {{ key }}
+ {% endfor %}
+
openwrt_uci:
network:
- name: globals 'globals'
openwrt_uci:
network:
- name: globals 'globals'
@@
-141,7
+152,7
@@
openwrt_users:
tuerd: {}
tuergit:
openwrt_users:
tuerd: {}
tuergit:
- home: /var/tuer
+ home: /home/tuergit
shell: /usr/bin/git-shell
tuerctl:
shell: /bin/false # TODO fixme
shell: /usr/bin/git-shell
tuerctl:
shell: /bin/false # TODO fixme