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

  

posted @ 2019-10-22 15:00  zhang_kk  阅读(172)  评论(0编辑  收藏  举报