- Create a
ssh-config
.
The following examples
Host default
HostName 127.0.0.1
User vagrant
Port 2222
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /Users/test/.ssh/test
IdentitiesOnly yes
LogLevel FATAL
- write hostname to
hosts
for ansible deploy.
- deploy
ansible-playbook -i hosts main.yaml
- Create a ansible template for ubuntu and SUSE.
- Below, Creating with ansible
- IKEv2