diff --git a/tasks/install_agent.deb.yaml b/tasks/install_agent.deb.yaml index 163de472c5d52c19f00e2468cf34569a0c7abc1e..2b387de19a1bcddbce0e929d85baa43f4b4c34be 100644 --- a/tasks/install_agent.deb.yaml +++ b/tasks/install_agent.deb.yaml @@ -34,8 +34,9 @@ - name: Create .ssh Directory for GitLab Runner User file: path: "/home/{{ gitlab_runner_user }}/.ssh" - state: directory + owner: "{{ gitlab_runner_user }}" mode: 0700 + state: directory - name: Install SSH Private Key copy: