Created
December 14, 2016 00:12
-
-
Save BruceZu/33491c8645bcceba4f6db6e645fa9dff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible cannot ping the control machine itself |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
issue: can not access control machine itself
resolved:
// create ssh key
// "Your public SSH key should be located in authorized_keys on those systems" here make sure it is in itself authorized_keys 👍
// ansible link
[root@k8s-09 ansible]# cd ~/.ssh/
[root@k8s-09 .ssh]# ls
id_rsa id_rsa.pub known_hosts
[root@k8s-09 .ssh]# touch authorized_keys
// copy
[root@k8s-09 .ssh]# vim id_rsa.pub
// paste
[root@k8s-09 .ssh]# vim authorized_keys
test