User Tools

Site Tools


ansible:ansible_best_practice

This is an old revision of the document!


Ansible best practice

Reference: xavki (youtube)

/etc/ansible/ansible.cfg

[defaults]
host_key_checking = False             # don't ask for accepting ssh keys
callback_whithelist = profile_task    # Print tasks duration
forks = 30                            # Parallel sessions

[ssh_connection]
pipelining = True                     # Send python command to target directly to python interpreter, better for perf

ansible/ansible_best_practice.1631143205.txt.gz · Last modified: 2021/09/09 01:20 by manu