From 48120620cb45ba4ed60bb2027d992daa608bac5f Mon Sep 17 00:00:00 2001
From: Guillaume Coré <guillaume.core@gmail.com>
Date: Thu, 16 Jan 2020 18:48:44 +0100
Subject: [PATCH] Revert "ssh_config template update for bastion and set_env_authorized_key roles" (#1006)

---
 ansible/roles/set_env_authorized_key/files/host_ssh_config.j2 |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/ansible/roles/set_env_authorized_key/files/host_ssh_config.j2 b/ansible/roles/set_env_authorized_key/files/host_ssh_config.j2
index c55ec8f..89a9a15 100644
--- a/ansible/roles/set_env_authorized_key/files/host_ssh_config.j2
+++ b/ansible/roles/set_env_authorized_key/files/host_ssh_config.j2
@@ -1,4 +1,3 @@
-{% if cloud_provider == 'ec2' %}
 Host ec2* *.internal *.example.com
    User {{remote_user}}
    IdentityFile ~/.ssh/{{env_authorized_key}}.pem
@@ -6,15 +5,3 @@
    StrictHostKeyChecking no
    ConnectTimeout 60
    ConnectionAttempts 10
-{% endif %}
-
-{% if cloud_provider == 'osp' %}
-{% set ip_octet = hostvars['bastion'].private_ip_address.split('.') %}
-Host {{ ip_octet[0]+'.'+ip_octet[1] }}.*
-   User {{remote_user}}
-   IdentityFile ~/.ssh/{{env_authorized_key}}.pem
-   ForwardAgent yes
-   StrictHostKeyChecking no
-   ConnectTimeout 60
-   ConnectionAttempts 10
-{% endif %}
\ No newline at end of file

--
Gitblit v1.9.3