ansible服务部署

1.ansible.cfg配置文件

[defaults]
#inventory= /home/op/ansible/testing
#sudo_user=root
remote_port=9122
remote_user=op
log_path=/home/zhangkuikui/phoebe_operate/log/ansible.log
no_log=False
roles_path=/home/zhangkuikui/phoebe_operate/roles/
transport=smart
forks=20
host_key_checking=False
timeout = 20

gathering = smart
fact_caching = jsonfile
fact_caching_connection = /home/zhangkuikui/phoebe_operate/facts_cache
fact_caching_timeout = 3600

  

猜你喜欢

转载自www.cnblogs.com/zhangkui/p/11719847.html