Skip to content
Snippets Groups Projects
Commit f272a4c1 authored by Chris Coley's avatar Chris Coley
Browse files

Making sure the '.ssh' directory is owned by the gitlab-runner user

parent 65917969
Branches
No related tags found
No related merge requests found
...@@ -34,8 +34,9 @@ ...@@ -34,8 +34,9 @@
- name: Create .ssh Directory for GitLab Runner User - name: Create .ssh Directory for GitLab Runner User
file: file:
path: "/home/{{ gitlab_runner_user }}/.ssh" path: "/home/{{ gitlab_runner_user }}/.ssh"
state: directory owner: "{{ gitlab_runner_user }}"
mode: 0700 mode: 0700
state: directory
- name: Install SSH Private Key - name: Install SSH Private Key
copy: copy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment