Ansible Login To Fresh Created Cloud Instance -
i have created playbook create fresh instance out of cloud image.
now can please help me figure-out how can login instance key-pair used create instance. don't want utilize user other root login.
thanks.
in hosts
file:
[servercategory] 54.85.136.142 ansible_ssh_private_key_file=~/.ssh/your-ssh-key.pem ansible_ssh_user=root
ansible ansible-playbook
No comments:
Post a Comment