forked from evolix/ansible-roles
jenkins: no need to copy ssh keys here
This commit is contained in:
parent
93c6dc9ffb
commit
163f27db05
|
@ -39,18 +39,3 @@
|
||||||
regexp: "^HTTP_PORT=.*$"
|
regexp: "^HTTP_PORT=.*$"
|
||||||
replace: "HTTP_PORT=8081"
|
replace: "HTTP_PORT=8081"
|
||||||
notify: Restart Jenkins
|
notify: Restart Jenkins
|
||||||
|
|
||||||
- name: Create .ssh directory
|
|
||||||
file:
|
|
||||||
name: /var/lib/jenkins/.ssh/
|
|
||||||
state: directory
|
|
||||||
mode: "0700"
|
|
||||||
|
|
||||||
- name: Copy SSH keys
|
|
||||||
copy:
|
|
||||||
src: "{{item}}"
|
|
||||||
dest: /var/lib/jenkins/.ssh/
|
|
||||||
mode: "0600"
|
|
||||||
with_items:
|
|
||||||
- id_rsa
|
|
||||||
- id_rsa.pub
|
|
||||||
|
|
Loading…
Reference in a new issue