From d6678d05fcfefdcd9095c22df05c5748877a256b Mon Sep 17 00:00:00 2001 From: Francois Andrieu Date: Tue, 10 Nov 2020 18:58:19 +0100 Subject: [PATCH] docstranslation: drop ssh key generation --- playbooks/openshift-apps/docstranslation.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/playbooks/openshift-apps/docstranslation.yml b/playbooks/openshift-apps/docstranslation.yml index c690436103..f5ac5aefe2 100644 --- a/playbooks/openshift-apps/docstranslation.yml +++ b/playbooks/openshift-apps/docstranslation.yml @@ -4,7 +4,7 @@ gather_facts: False vars: 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: - /srv/web/infra/ansible/vars/global.yml - "/srv/private/ansible/vars.yml" @@ -24,15 +24,6 @@ tags: - 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 include_role: name: openshift/imagestream @@ -83,8 +74,3 @@ tags: - never - delete - - post_tasks: - - name: "Display git ssh key for adding in pagure" - debug: - msg: "{{ env }}: {{ r_ssh_key.public_key }}"