diff options
author | Michael Adam <obnox@samba.org> | 2020-03-25 16:20:56 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2020-03-25 22:32:23 +0100 |
commit | 514b1c080bbf86f0e09935adc0d9cc82e945c0c9 (patch) | |
tree | cb2ab95275eb4e03c9d353a67c7028623b3cfeef | |
parent | 618090b2fbe88a26e3ecdeebf3e95d413730180e (diff) | |
download | samba-integration-514b1c080bbf86f0e09935adc0d9cc82e945c0c9.tar.gz samba-integration-514b1c080bbf86f0e09935adc0d9cc82e945c0c9.tar.xz samba-integration-514b1c080bbf86f0e09935adc0d9cc82e945c0c9.zip |
Add copying of ssh key to node preparation
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | vagrant/ansible/roles/node.prep/tasks/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vagrant/ansible/roles/node.prep/tasks/main.yml b/vagrant/ansible/roles/node.prep/tasks/main.yml index 11ed87a..c68ddd9 100644 --- a/vagrant/ansible/roles/node.prep/tasks/main.yml +++ b/vagrant/ansible/roles/node.prep/tasks/main.yml @@ -1,3 +1,13 @@ +- name: create ansible directory (for ssh key) + file: + path: /home/vagrant/ansible + state: directory + +- name: copy ssh key + copy: + src: /home/vagrant/ansible/vagrant_insecure_private_ssh_key + dest: /home/vagrant/ansible/vagrant_insecure_private_ssh_key + - name: copy ssh config copy: src: ssh-config-setup |