码迷,mamicode.com
首页 > 其他好文 > 详细

ansible 记录

时间:2020-05-08 12:48:24      阅读:51      评论:0      收藏:0      [点我收藏+]

标签:lib   public   rar   etc   art   interval   asi   int   inter   

ansible.cfg

[defaults]

# some basic default values...
#inventory      = /etc/ansible/hosts
#library        = /usr/share/my_modules/
#remote_tmp     = $HOME/.ansible/tmp
#local_tmp      = $HOME/.ansible/tmp
#forks          = 5
#poll_interval  = 15
#sudo_user      = root
#ask_sudo_pass = True
#ask_pass      = True
#transport      = smart
#remote_port    = 22
#module_lang    = C
#module_set_locale = True

demo conf

[master]
13.114.16.212

[bootstrap]
3.112.243.131

[public]
3.112.130.212

[private]
3.112.252.175

[abc:children]
master
bootstrap
public
private

[abc:vars]
ansible_ssh_user=root
#ansible_ssh_pass="123456"
#ansible_ssh_port=22
ansible_ssh_private_key_file=/Users/15b883/keys/sshserver

ansible 记录

标签:lib   public   rar   etc   art   interval   asi   int   inter   

原文地址:https://www.cnblogs.com/syavingcs/p/12849594.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!