docstranslation: drop ssh key generation
This commit is contained in:
parent
2e8857c681
commit
d6678d05fc
1 changed files with 1 additions and 15 deletions
|
@ -4,7 +4,7 @@
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
vars:
|
vars:
|
||||||
app: docstranslation
|
app: docstranslation
|
||||||
ssh_key_path: "{{ private }}/files/id_rsa_docstrans_{{ env_short }}"
|
ssh_key_path: "{{ private }}/files/docstranslation/id_rsa_docstrans_{{ env_short }}"
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
|
@ -24,15 +24,6 @@
|
||||||
tags:
|
tags:
|
||||||
- apply-appowners
|
- apply-appowners
|
||||||
|
|
||||||
- name: Generate new ssh keypair, if none exist
|
|
||||||
openssh_keypair:
|
|
||||||
path: "{{ ssh_key_path }}"
|
|
||||||
mode: "600"
|
|
||||||
type: rsa
|
|
||||||
size: 4096
|
|
||||||
register: r_ssh_key
|
|
||||||
delegate_to: localhost
|
|
||||||
|
|
||||||
- name: Define imagestream
|
- name: Define imagestream
|
||||||
include_role:
|
include_role:
|
||||||
name: openshift/imagestream
|
name: openshift/imagestream
|
||||||
|
@ -83,8 +74,3 @@
|
||||||
tags:
|
tags:
|
||||||
- never
|
- never
|
||||||
- delete
|
- delete
|
||||||
|
|
||||||
post_tasks:
|
|
||||||
- name: "Display git ssh key for adding in pagure"
|
|
||||||
debug:
|
|
||||||
msg: "{{ env }}: {{ r_ssh_key.public_key }}"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue