- Speed Up Ansible
- Speedup Ansible
- Ansible Accelerated Mode
- Speeding up Ansible Playbook runs
- Slow Ansible playbook? Check ansible.cfg!
ansible.cfg 主要關鍵設定:
- pipeline = True
- control_path = /tmp/ansible-ssh-%%h-%%p-%%r
- ssh_args = -o ControlMaster=auto -o ControlPersist=60s
- poll_interval = 5
- forks = 25
- fact_caching = jsonfile
- fact_caching_connection = /tmp/.ansible_fact_cache
- ControlMaster 的說明:SSH設定-ControlMaster
- 利用 ControlPersist 特性自动登陆 SSH 服务器
沒有留言:
張貼留言