Skip to content
Snippets Groups Projects
Commit 3a1adfa2 authored by Vladimír Štill's avatar Vladimír Štill
Browse files

ansible: Don't expect ssh key update script to exits externally

parent ed4cdc3a
No related branches found
No related tags found
No related merge requests found
......@@ -8,4 +8,4 @@ RefuseManualStop=yes
[Service]
Type=oneshot
ExecStart=/root/deploy/bin/get_ssh_hosts
ExecStart=/usr/sbin/get_ssh_hosts
......@@ -58,6 +58,12 @@
notify:
- restart nscd
- name: known_hosts update script
copy:
src: ../bin/get_ssh_hosts
dest: /usr/sbin
mode: a=rx
- name: known_hosts update service files
copy:
src: '{{item}}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment