$ brew install ansible
$ ansible --version
$ ansible localhost -m ping
- Create a password for 'root' user
$ sudo su -
$ passwd
- update sshd_config file for allowing Password Authentication (with root user)
vi /etc/ssh/sshd_config
look for line 'PasswordAuthentication'; uncomment 'PasswordAuthentication yes' and comment 'PasswordAuthentication no'
PasswordAuthentication yes
#PasswordAuthentication no