Hi,
>
> For example, in my toolkit, to ping a server I would run:
>
> fab role ping
>
> but from one of the first examples in the Ansible intro docs, it would be:
>
> ansible all --inventory-file=inventory.ini --module-name ping -u username --private-key=~/path/to/private_key
You should have a look for the ansible.cfg configuration. If you put one into your project directory you can define the ansible_user, inventory and key file for this user and do not need to specify them on the command line. I think the "all" group is default, no need to issue.
This would result in:
ansible -m ping
I'm relatively new to ansible, haven't had performance problems so far. I think you can speedup things by configuring ansible to run in parallel or break your hosts down into smaller groups. ansible will "compile" a python script from your playbooks, transfers and runs it on the destination servers. This takes some time, I guess.
Regards,
Marcus
Hi,
What about using tags and sorting out those tasks you need for an deployment? Running just half of your playbook?
http://docs.ansible.com/playbooks_tags.html
Regards,
Marcus
Have you considered setting local facts. You could then test for the local fact being present and then skip steps which don't need to be repeated?