2016年4月12日 星期二

vagrant 切換 root之密碼

使用 vagrant ssh登入虛擬機後,若需切換為root權限時,密碼為vagrant

[vagrant@localhost vagrant]$ su -

Ansible Trouble Shooting - 2

fatal: [default]: FAILED! => {"failed": true, "msg": "to use the 'ssh' connection type with passwords, you must install the sshpass program"}

Ansible Trouble Shooting - 1

fatal: [default]: FAILED! => {"failed": true, "msg": "Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this.  Please add this host's fingerprint to your known_hosts file to manage this host."}