From f6b2ccc7ecb6d1df0805b24acbc452ed2af90f8a Mon Sep 17 00:00:00 2001 From: Markus Date: Fri, 28 Jun 2024 14:59:20 +0300 Subject: [PATCH] add ansible_ssh_common_args to machines requiring jump --- infrastructure/known-hosts | 27 +++++++++++++++++++ .../server-setup/inventory/production.yml | 2 +- .../server-setup/inventory/staging.yml | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/infrastructure/known-hosts b/infrastructure/known-hosts index 15543754..fe7367b2 100644 --- a/infrastructure/known-hosts +++ b/infrastructure/known-hosts @@ -28,3 +28,30 @@ markusland-qa.opencrvs.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINs/gSqmT7ICbckJg 161.35.20.33 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMLrr2H19Qaak2NdNK1G3V8DZFBgyAvUYWdBdUr+H6gzp4Ftamsr5NTQUJ5nVCAxml3NIFjB6rw9mw2sdYHidSY= 161.35.20.33 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINs/gSqmT7ICbckJg36ap6Ud2gi4TE5lDmR2hwO3nJ2n 161.35.20.33 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDvDvChkG0pe5u+ZfIyuc/GArinv03iA1bnjaxoJoKg7qlt3upH4ht5zzhw/L+1mZIhSLcCdhVMyyBuy+eMseZwFxayufH9j/jV6Op/WdNyMh3VcZM9CivemgFXH8RE0bDRHPTPSLmm9DD4oZk5O8yveegfGX6x35U/AA+8kSFJxq1gqpgDBLf2Qq8FOrJJFUMIJBTpOOrdgiqOEKs6XKaV9OC/6NJkvfYLFktzDVGX9rKcQoKRsd9JXCdYIbby/iAkaKOaPBt1+vM/Xk4sbB/K+m+D/qegffa0yIm66yvpjeib44GOd1o8bLqTPJncMiQNk3sTpQm/z91mHyO8J1vOtTNQfO9Zf4Iiya6p/OdxNeznACcMDT4DYzg06ryXVZ0D5DT+7yxv6FLwlDjV6hfu5nj0plj0gYRdbA686ugNK1HhQlACTudtvjtNbW/m8T9YEM2yXRkujIixVZemUzSLVZrbZpxaIKbfXuTjOfQFuRiyRbe94LOSMi4Q9jMcDOc= +markusland-staging.opencrvs.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCjcUgNiAMECqquAWuyScu1DCAY194eK6F2edCEzh2urGmwu6sBINiYJx58nsDU8rI+ZZMadzh8PKiSLtAIr43v4pZuHpDzUnA7w345LEQZtJwETbQ5PCgmuXDg3YetbhswAhP2f+J1WJutmyJSAg3CJ6p5aAVBkN9ktK9OfozyX0T2vH8r8BiuFELa09WJgFguGlIetWWgOYADZMOdBsgeo+LwAvozd/e4Z5XhGwBp7odCWutVrr9kuuTOEyFwsbehY0lR3u4JJjefeGs9dwnXOzFn6cKVgcY8bR9yVDgYGmmuB/eOHpp3qtxdQ889uUOIqJWI+MuymSA7YwDh3zEnNLs044W8cyHYG2ON/ouy1dIE6E/gFPSzNK8jzUKedvG9iauMXc//5XayP7sni9++rps9idW6plmO0S7ciOd38/VILnzZzZPnrDTbApexrVYq904U1Ij61GykPNWIVNX104i7vTrYdg5QUWTFxC4adgUVLMDgo2X6sgyE3vSufr8= +markusland-staging.opencrvs.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEla+aq0iKRT02h9E7Kc1YoujKiwSkdn8vM2tKZgT+Ek1z47pn7R7QiO5Mash79tfkRUkJ2ALk1LkwTOhf1JCsY= +markusland-staging.opencrvs.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHY+C60aONoWdk2GbcFTLEdMtrreyENWciNFUzHjWf37 +164.92.246.97 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCjcUgNiAMECqquAWuyScu1DCAY194eK6F2edCEzh2urGmwu6sBINiYJx58nsDU8rI+ZZMadzh8PKiSLtAIr43v4pZuHpDzUnA7w345LEQZtJwETbQ5PCgmuXDg3YetbhswAhP2f+J1WJutmyJSAg3CJ6p5aAVBkN9ktK9OfozyX0T2vH8r8BiuFELa09WJgFguGlIetWWgOYADZMOdBsgeo+LwAvozd/e4Z5XhGwBp7odCWutVrr9kuuTOEyFwsbehY0lR3u4JJjefeGs9dwnXOzFn6cKVgcY8bR9yVDgYGmmuB/eOHpp3qtxdQ889uUOIqJWI+MuymSA7YwDh3zEnNLs044W8cyHYG2ON/ouy1dIE6E/gFPSzNK8jzUKedvG9iauMXc//5XayP7sni9++rps9idW6plmO0S7ciOd38/VILnzZzZPnrDTbApexrVYq904U1Ij61GykPNWIVNX104i7vTrYdg5QUWTFxC4adgUVLMDgo2X6sgyE3vSufr8= +164.92.246.97 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEla+aq0iKRT02h9E7Kc1YoujKiwSkdn8vM2tKZgT+Ek1z47pn7R7QiO5Mash79tfkRUkJ2ALk1LkwTOhf1JCsY= +164.92.246.97 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHY+C60aONoWdk2GbcFTLEdMtrreyENWciNFUzHjWf37 +markusland.opencrvs.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDgSVaPMUIsCJPePAXBfrSnJCG6sck1J6h2PMTmRH3nnXOBCUF1yHUxy+C090HiOVfOoa8GjK6+YmIIM1G1ai/gaGM+uuoLGoEx9SMc6ogQO+VRrum9z7carffzSNEU8/+nGNP47d4NXfelW8m250YatjAFiBwozevoCUyxQTLuVleg+G8UkGkznIsGD+c76EzaxROeeTBDyCu+xfvvsaOECiTXc7ffH71QPMLQx5mO91cSY7ExoZMPHWsYtIPLln3ku+Av9sO2q392WfgDn3nZbbKncdIVJ+GRPq7TZPIOWewgGrwWhEInIt50RtvyDLN9r/2V59nUvkjt4pJ4BdzK+RrJNEuuCKedNe0Mkf9Vsl6F0ViHfRxPlVlyoW0Q0tQLh8U0WgMermM39OsB6nYxYjhjY2lJ5VB7IHC6eqc8OeLHeApylzglwtQgmkN/iWOR/1xkOFlgZvMdC9jHLs9ZrlS192QOd6ZyH4KuMS5fai3dn84CW0UEGuwMGYZNQhU= +markusland.opencrvs.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRA/WIzGN7zxDZ7LEnKgMJAwX3UGImtNVCgC0B45Z57 +markusland.opencrvs.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPgRa0GtzZoOZ3zY+8o55HtsJnt26XT8vrxJFZVuIAu6HsUrdTx8fJdPr86o/2d4iYA2axrFzLVWR4arVMQ3KZY= +46.101.122.71 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDgSVaPMUIsCJPePAXBfrSnJCG6sck1J6h2PMTmRH3nnXOBCUF1yHUxy+C090HiOVfOoa8GjK6+YmIIM1G1ai/gaGM+uuoLGoEx9SMc6ogQO+VRrum9z7carffzSNEU8/+nGNP47d4NXfelW8m250YatjAFiBwozevoCUyxQTLuVleg+G8UkGkznIsGD+c76EzaxROeeTBDyCu+xfvvsaOECiTXc7ffH71QPMLQx5mO91cSY7ExoZMPHWsYtIPLln3ku+Av9sO2q392WfgDn3nZbbKncdIVJ+GRPq7TZPIOWewgGrwWhEInIt50RtvyDLN9r/2V59nUvkjt4pJ4BdzK+RrJNEuuCKedNe0Mkf9Vsl6F0ViHfRxPlVlyoW0Q0tQLh8U0WgMermM39OsB6nYxYjhjY2lJ5VB7IHC6eqc8OeLHeApylzglwtQgmkN/iWOR/1xkOFlgZvMdC9jHLs9ZrlS192QOd6ZyH4KuMS5fai3dn84CW0UEGuwMGYZNQhU= +46.101.122.71 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPgRa0GtzZoOZ3zY+8o55HtsJnt26XT8vrxJFZVuIAu6HsUrdTx8fJdPr86o/2d4iYA2axrFzLVWR4arVMQ3KZY= +46.101.122.71 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRA/WIzGN7zxDZ7LEnKgMJAwX3UGImtNVCgC0B45Z57 +161.35.20.33 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINs/gSqmT7ICbckJg36ap6Ud2gi4TE5lDmR2hwO3nJ2n +161.35.20.33 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDvDvChkG0pe5u+ZfIyuc/GArinv03iA1bnjaxoJoKg7qlt3upH4ht5zzhw/L+1mZIhSLcCdhVMyyBuy+eMseZwFxayufH9j/jV6Op/WdNyMh3VcZM9CivemgFXH8RE0bDRHPTPSLmm9DD4oZk5O8yveegfGX6x35U/AA+8kSFJxq1gqpgDBLf2Qq8FOrJJFUMIJBTpOOrdgiqOEKs6XKaV9OC/6NJkvfYLFktzDVGX9rKcQoKRsd9JXCdYIbby/iAkaKOaPBt1+vM/Xk4sbB/K+m+D/qegffa0yIm66yvpjeib44GOd1o8bLqTPJncMiQNk3sTpQm/z91mHyO8J1vOtTNQfO9Zf4Iiya6p/OdxNeznACcMDT4DYzg06ryXVZ0D5DT+7yxv6FLwlDjV6hfu5nj0plj0gYRdbA686ugNK1HhQlACTudtvjtNbW/m8T9YEM2yXRkujIixVZemUzSLVZrbZpxaIKbfXuTjOfQFuRiyRbe94LOSMi4Q9jMcDOc= +161.35.20.33 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMLrr2H19Qaak2NdNK1G3V8DZFBgyAvUYWdBdUr+H6gzp4Ftamsr5NTQUJ5nVCAxml3NIFjB6rw9mw2sdYHidSY= +markusland-staging.opencrvs.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCjcUgNiAMECqquAWuyScu1DCAY194eK6F2edCEzh2urGmwu6sBINiYJx58nsDU8rI+ZZMadzh8PKiSLtAIr43v4pZuHpDzUnA7w345LEQZtJwETbQ5PCgmuXDg3YetbhswAhP2f+J1WJutmyJSAg3CJ6p5aAVBkN9ktK9OfozyX0T2vH8r8BiuFELa09WJgFguGlIetWWgOYADZMOdBsgeo+LwAvozd/e4Z5XhGwBp7odCWutVrr9kuuTOEyFwsbehY0lR3u4JJjefeGs9dwnXOzFn6cKVgcY8bR9yVDgYGmmuB/eOHpp3qtxdQ889uUOIqJWI+MuymSA7YwDh3zEnNLs044W8cyHYG2ON/ouy1dIE6E/gFPSzNK8jzUKedvG9iauMXc//5XayP7sni9++rps9idW6plmO0S7ciOd38/VILnzZzZPnrDTbApexrVYq904U1Ij61GykPNWIVNX104i7vTrYdg5QUWTFxC4adgUVLMDgo2X6sgyE3vSufr8= +markusland-staging.opencrvs.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEla+aq0iKRT02h9E7Kc1YoujKiwSkdn8vM2tKZgT+Ek1z47pn7R7QiO5Mash79tfkRUkJ2ALk1LkwTOhf1JCsY= +markusland-staging.opencrvs.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHY+C60aONoWdk2GbcFTLEdMtrreyENWciNFUzHjWf37 +164.92.246.97 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCjcUgNiAMECqquAWuyScu1DCAY194eK6F2edCEzh2urGmwu6sBINiYJx58nsDU8rI+ZZMadzh8PKiSLtAIr43v4pZuHpDzUnA7w345LEQZtJwETbQ5PCgmuXDg3YetbhswAhP2f+J1WJutmyJSAg3CJ6p5aAVBkN9ktK9OfozyX0T2vH8r8BiuFELa09WJgFguGlIetWWgOYADZMOdBsgeo+LwAvozd/e4Z5XhGwBp7odCWutVrr9kuuTOEyFwsbehY0lR3u4JJjefeGs9dwnXOzFn6cKVgcY8bR9yVDgYGmmuB/eOHpp3qtxdQ889uUOIqJWI+MuymSA7YwDh3zEnNLs044W8cyHYG2ON/ouy1dIE6E/gFPSzNK8jzUKedvG9iauMXc//5XayP7sni9++rps9idW6plmO0S7ciOd38/VILnzZzZPnrDTbApexrVYq904U1Ij61GykPNWIVNX104i7vTrYdg5QUWTFxC4adgUVLMDgo2X6sgyE3vSufr8= +164.92.246.97 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEla+aq0iKRT02h9E7Kc1YoujKiwSkdn8vM2tKZgT+Ek1z47pn7R7QiO5Mash79tfkRUkJ2ALk1LkwTOhf1JCsY= +164.92.246.97 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHY+C60aONoWdk2GbcFTLEdMtrreyENWciNFUzHjWf37 +markusland.opencrvs.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRA/WIzGN7zxDZ7LEnKgMJAwX3UGImtNVCgC0B45Z57 +markusland.opencrvs.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDgSVaPMUIsCJPePAXBfrSnJCG6sck1J6h2PMTmRH3nnXOBCUF1yHUxy+C090HiOVfOoa8GjK6+YmIIM1G1ai/gaGM+uuoLGoEx9SMc6ogQO+VRrum9z7carffzSNEU8/+nGNP47d4NXfelW8m250YatjAFiBwozevoCUyxQTLuVleg+G8UkGkznIsGD+c76EzaxROeeTBDyCu+xfvvsaOECiTXc7ffH71QPMLQx5mO91cSY7ExoZMPHWsYtIPLln3ku+Av9sO2q392WfgDn3nZbbKncdIVJ+GRPq7TZPIOWewgGrwWhEInIt50RtvyDLN9r/2V59nUvkjt4pJ4BdzK+RrJNEuuCKedNe0Mkf9Vsl6F0ViHfRxPlVlyoW0Q0tQLh8U0WgMermM39OsB6nYxYjhjY2lJ5VB7IHC6eqc8OeLHeApylzglwtQgmkN/iWOR/1xkOFlgZvMdC9jHLs9ZrlS192QOd6ZyH4KuMS5fai3dn84CW0UEGuwMGYZNQhU= +markusland.opencrvs.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPgRa0GtzZoOZ3zY+8o55HtsJnt26XT8vrxJFZVuIAu6HsUrdTx8fJdPr86o/2d4iYA2axrFzLVWR4arVMQ3KZY= +46.101.122.71 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDgSVaPMUIsCJPePAXBfrSnJCG6sck1J6h2PMTmRH3nnXOBCUF1yHUxy+C090HiOVfOoa8GjK6+YmIIM1G1ai/gaGM+uuoLGoEx9SMc6ogQO+VRrum9z7carffzSNEU8/+nGNP47d4NXfelW8m250YatjAFiBwozevoCUyxQTLuVleg+G8UkGkznIsGD+c76EzaxROeeTBDyCu+xfvvsaOECiTXc7ffH71QPMLQx5mO91cSY7ExoZMPHWsYtIPLln3ku+Av9sO2q392WfgDn3nZbbKncdIVJ+GRPq7TZPIOWewgGrwWhEInIt50RtvyDLN9r/2V59nUvkjt4pJ4BdzK+RrJNEuuCKedNe0Mkf9Vsl6F0ViHfRxPlVlyoW0Q0tQLh8U0WgMermM39OsB6nYxYjhjY2lJ5VB7IHC6eqc8OeLHeApylzglwtQgmkN/iWOR/1xkOFlgZvMdC9jHLs9ZrlS192QOd6ZyH4KuMS5fai3dn84CW0UEGuwMGYZNQhU= +46.101.122.71 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPgRa0GtzZoOZ3zY+8o55HtsJnt26XT8vrxJFZVuIAu6HsUrdTx8fJdPr86o/2d4iYA2axrFzLVWR4arVMQ3KZY= +46.101.122.71 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRA/WIzGN7zxDZ7LEnKgMJAwX3UGImtNVCgC0B45Z57 diff --git a/infrastructure/server-setup/inventory/production.yml b/infrastructure/server-setup/inventory/production.yml index 82c8f196..66093e63 100644 --- a/infrastructure/server-setup/inventory/production.yml +++ b/infrastructure/server-setup/inventory/production.yml @@ -42,7 +42,7 @@ docker-manager-first: ansible_host: '46.101.122.71' # @todo set this to be the hostname of your target server data_label: data1 # If you are using a jump server to access this environment, enter other SSH args here. - # ansible_ssh_common_args: '-J jump@55.55.55.55 -o StrictHostKeyChecking=no' + ansible_ssh_common_args: '-J jump@161.35.20.33 -o StrictHostKeyChecking=no' # @todo We recommend you add 2-4 workers for a scaled production deployment # This should depend on the size of your country and the number of end users. diff --git a/infrastructure/server-setup/inventory/staging.yml b/infrastructure/server-setup/inventory/staging.yml index 8b151a5d..9ca2e6d9 100644 --- a/infrastructure/server-setup/inventory/staging.yml +++ b/infrastructure/server-setup/inventory/staging.yml @@ -44,7 +44,7 @@ docker-manager-first: ansible_host: '164.92.246.97' # @todo set this to be the hostname of your target server data_label: data1 # If you are using a jump server to access this environment, enter other SSH args here. - # ansible_ssh_common_args: '-J jump@55.55.55.55 -o StrictHostKeyChecking=no' + ansible_ssh_common_args: '-J jump@161.35.20.33 -o StrictHostKeyChecking=no' # This staging servers is configured to only use one server docker-workers: {}