From 7ebb85b10b6793f6f4555699f731f43625861805 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 24 Mar 2022 03:26:32 +0300 Subject: [PATCH] Feat(update-root): Sync `ssh/known_hosts` --- playbooks/update-root.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/playbooks/update-root.yml b/playbooks/update-root.yml index 4b1b94e..1c89674 100644 --- a/playbooks/update-root.yml +++ b/playbooks/update-root.yml @@ -27,6 +27,15 @@ '.screenrc', '.shellrc', '.tmux.conf', '.vimrc', ] + - name: "Update ~root/.ssh/known_hosts" + copy: + src: ~phd/.ssh/known_hosts + remote_src: yes + dest: ~root/.ssh/known_hosts + owner: root + group: root + mode: "0600" + - name: "Create ~root/admin/prog/" file: path: ~root/admin/prog -- 2.39.5