From 628a4c4359c6ca85f3cd8c51a56aee16f8bd1645 Mon Sep 17 00:00:00 2001 From: dbshah12 Date: Thu, 7 Sep 2023 17:53:31 +0530 Subject: [PATCH] DLPX-87656 Enable SFTP for Internal Variants --- .../roles/delphix-platform/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml b/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml index 2c45db29..520b8529 100644 --- a/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml +++ b/files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml @@ -306,6 +306,11 @@ path: /etc/ssh/sshd_config regexp: '^(Subsystem.*sftp.*)' replace: '#\1' + when: + # + # For developer convenience, we only enable the sftp + # for internal variants (e.g. for development, testing, etc). + - variant is regex("external-.*") # # Ssh leads to the CLI, not bash, so let's remove all the linuxy shell goodies,