29 lines
503 B
YAML
29 lines
503 B
YAML
# Global SSH server inventory
|
|
# Referenced by target name in agent configs
|
|
|
|
defaults:
|
|
user: deploy
|
|
port: 22
|
|
key_file_env: SSH_PRIVATE_KEY_PATH
|
|
timeout: 10s
|
|
keepalive_interval: 15s
|
|
|
|
targets:
|
|
production:
|
|
hosts:
|
|
- "${PROD_HOST_1}"
|
|
- "${PROD_HOST_2}"
|
|
user: deploy
|
|
jump_host: "${BASTION_HOST}"
|
|
|
|
staging:
|
|
hosts:
|
|
- "${STAGING_HOST}"
|
|
user: deploy
|
|
|
|
monitoring:
|
|
hosts:
|
|
- "${MONITORING_HOST}"
|
|
user: monitor
|
|
key_file_env: SSH_MONITOR_KEY_PATH
|