Commit 64b340ce by Will Daly

Added login shell for Jenkins worker account

parent d9227fc4
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
- name: jenkins_worker | Create jenkins group - name: jenkins_worker | Create jenkins group
group: name={{ jenkins_group }} state=present group: name={{ jenkins_group }} state=present
- name: jenkins_worker | Add the jenkins user to the group # The Jenkins account needs a login shell because Jenkins uses scp
user: name={{ jenkins_user }} append=yes group={{ jenkins_group }} - name: jenkins_worker | Add the jenkins user to the group and configure shell
user: name={{ jenkins_user }} append=yes group={{ jenkins_group }} shell=/bin/bash
# Because of a bug in the latest release of the EC2 plugin # Because of a bug in the latest release of the EC2 plugin
# we need to use a key generated by Amazon (not imported) # we need to use a key generated by Amazon (not imported)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment