1 Star 0 Fork 1

肖恒/k8s-ansible

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ansible.cfg 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
kevin 提交于 2021-05-11 10:28 . update
[defaults]
## Customize this!
inventory = inventory.ini
transport = ssh
# disable SSH key host checking
host_key_checking = False
# gathering = smart
gathering = explicit
fact_caching = jsonfile
fact_caching_connection = fact_files
retry_files_save_path = retry_files
#remote_tmp = /tmp/ansible
# for slow connections
timeout = 10
gather_subset = network,hardware
# if ssh port is not 22
#remote_port = 22
# for fun
# cow_selection = random
stdout_callback = skippy
# log information about executions at the designated location
log_path = log/ansible.log
deprecation_warnings = False
callback_whitelist = help
; filter_plugins = plugins/filters:~/.ansible/plugins/filter_plugins/:/usr/share/ansible_plugins/filter_plugins
filter_plugins = plugins/filters
command_warnings = False
[privilege_escalation]
become=yes
# become_method=sudo
# become_user=root
[ssh_connection]
## AWS key connection
# ssh_args = -i aws.key -C -o ControlMaster=auto -o ControlPersist=60s
## Jumper host connection
# ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s -o ProxyCommand="ssh user@host -p 22 nc %h %p"
## Default
# ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s
## Use custom ssh config file
# ssh_args = -F ssh_config
#scp_if_ssh = True
# close when using a jumper host, or have TTY errors
# Ubuntu is OK, while CentOS may cause errors
# pipelining = True
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/ccoldplay/k8s-ansible.git
git@gitee.com:ccoldplay/k8s-ansible.git
ccoldplay
k8s-ansible
k8s-ansible
master

搜索帮助