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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFRuYVdSd8112jqLSzeh0xn%2Bb0_zdfHtWML_5Yjhbc2fDHvk8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to