Skip to content
Snippets Groups Projects
Commit 72a64e80 authored by nimrod's avatar nimrod
Browse files

- The tests run as the root user, no need to be fancy.

parent 6f0113f3
No related branches found
No related tags found
No related merge requests found
......@@ -65,15 +65,15 @@
post_tasks: # For testing purposes
- name: Create .ssh directory
file:
path: ~/.ssh
path: /root/.ssh
state: directory
- name: Copy private key
copy:
src: id_rsa
dest: ~/.ssh/id_rsa
dest: /root/.ssh/id_rsa
mode: 0o0400
- name: Add localhost key to known hosts
changed_when: False
shell: 'ssh-keyscan localhost >> ~/.ssh/known_hosts'
shell: 'ssh-keyscan localhost >> /root/.ssh/known_hosts'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment