Now, slowly test the function of ansible, but the overall feeling is that it is slower than saltstack, as if there is a bit of instability ....
But, the performance of the local environment, is still good ...
~~~~~~~~~~~~~
There are a few things to note:
If host is not a standard port, write into the/etc/ansible/hosts file, and the corresponding login account will be written as well.
11.19.5.1:12345 Ansible_ssh_user=anin
Second, if you want to enable SSH key login, it is important to note that the public's method is to add pub public key to the managed server side of the Authorized_keys, and then use the private key of Ansible login account to respond ... Therefore, if you switch the account on the ansible machine, it is no longer connected. The command is as follows:
Ansible ' 1.2.2.18 '-m authorized_key-m shell-a "ls"
You can ...
Ansible two or three things