1
0
Fork 0

Add a conclusion/todo-list

+ more generic on the gitea username
+ several corrections
This commit is contained in:
Chl 2020-01-18 23:48:17 +01:00
parent 12d4943e45
commit 8e132c1633
9 changed files with 62 additions and 17 deletions

View file

@ -59,15 +59,10 @@
#become_user: jenkins # permission denied
#become: yes
register: result
- name: Retrieve the SSH private key
- name: Retrieve the SSH public key
slurp:
src: "{{ jenkins_home }}/.ssh/id_rsa.pub"
register: tmp
when: result.changed
- name: Ouput public key
debug:
msg: "Don't forget to set the public key on the Git repository and the deploy target : {{ tmp.content | b64decode | trim }}"
when: result.changed
register: jenkins_ssh_public_key
# Upload this new key to the Jenkins credentials plugin system
# (the create/update/import-credential-as-xml is kinda cumbersome for our