zoukankan      html  css  js  c++  java
  • 二、ansible配置简要介绍

    1. [defaults]
    2. # some basic default values…
    3. hostfile = /etc/ansible/hosts \指定默认hosts配置的位置
    4. # library_path = /usr/share/my_modules/
    5. remote_tmp = $HOME/.ansible/tmp
    6. pattern = *
    7. forks = 5
    8. poll_interval = 15
    9. sudo_user = root \远程sudo用户
    10. #ask_sudo_pass = True \每次执行ansible命令是否询问ssh密码
    11. #ask_pass = True \每次执行ansible命令时是否询问sudo密码
    12. transport = smart
    13. remote_port = 22
    14. module_lang = C
    15. gathering = implicit
    16. host_key_checking = False \关闭第一次使用ansible连接客户端是输入命令提示
    17. log_path = /var/log/ansible.log \需要时可以自行添加。chown -R root:root ansible.log
    18. system_warnings = False \关闭运行ansible时系统的提示信息,一般为提示升级
    19. # set plugin path directories here, separate with colons
    20. action_plugins = /usr/share/ansible_plugins/action_plugins
    21. callback_plugins = /usr/share/ansible_plugins/callback_plugins
    22. connection_plugins = /usr/share/ansible_plugins/connection_plugins
    23. lookup_plugins = /usr/share/ansible_plugins/lookup_plugins
    24. vars_plugins = /usr/share/ansible_plugins/vars_plugins
    25. filter_plugins = /usr/share/ansible_plugins/filter_plugins
    26. fact_caching = memory
    27. [accelerate]
    28. accelerate_port = 5099
    29. accelerate_timeout = 30
    30. accelerate_connect_timeout = 5.0
    31. # The daemon timeout is measured in minutes. This time is measured
    32. # from the last activity to the accelerate daemon.
    33. accelerate_daemon_timeout = 30
  • 相关阅读:
    Prime Land(poj 1365)
    备用交换机(cogs 8)
    救命(洛谷 U4525)
    消息传递(cogs 1001)
    SQLite 使用主键,ROWID 及自增列
    SqlHelper 类
    一个继承的 DataGridView
    给JAVA的eclipse IDE 在线安装 SVN插件 / 给 eclipse 添加打开所在的文件夹功能
    实时更新DataGridView 合计值
    导出为文本格式
  • 原文地址:https://www.cnblogs.com/chaoe/p/7606599.html
Copyright © 2011-2022 走看看