deployer-php migration from version 6 to version 7
hosts:
staging:
config_file: /etc/ssh/ssh_config
identity_file: ~/.ssh/id_rsa
forward_agent: true
ssh_multiplexing: false
ssh_arguments:
['-o UserKnownHostsFile=/dev/null', '-o StrictHostKeyChecking=no']
labels:
stage: staging
roles:
- app
production:
config_file: /etc/ssh/ssh_config
identity_file: ~/.ssh/id_rsa
forward_agent: true
ssh_multiplexing: true
ssh_arguments:
['-o UserKnownHostsFile=/dev/null', '-o StrictHostKeyChecking=no']
labels:
stage: produtcion
roles:
- app
Old version 6 equivalent
staging:
configFile: /etc/ssh/ssh_config
identityFile: ~/.ssh/id_rsa
forwardAgent: true
multiplexing: false
sshOptions:
UserKnownHostsFile: /dev/null
StrictHostKeyChecking: no
stage: staging
roles:
- app
production:
configFile: /etc/ssh/ssh_config
identityFile: ~/.ssh/id_rsa
forwardAgent: true
multiplexing: false
sshOptions:
UserKnownHostsFile: /dev/null
StrictHostKeyChecking: no
stage: production
roles:
- app