1. 程式人生 > >生產環境中jenkins主機ansible配置如下

生產環境中jenkins主機ansible配置如下

paramiko ram log defaults modified gin host gather action

生產環境中jenkins主機ansible配置如下:

[defaults]

hostfile       = ./hosts

library        = /usr/share/ansible

remote_tmp     = $HOME/.ansible/tmp

pattern        = *

transport      = smart

remote_port    = 22

log_path = /home/jenkins/ansible/ansible.log

pipelining = True

module_lang    = C

gathering = implicit

host_key_checking = False

sudo_exe = sudo

timeout = 10

ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}

action_plugins     = /usr/share/ansible_plugins/action_plugins

callback_plugins   = /usr/share/ansible_plugins/callback_plugins

connection_plugins = /usr/share/ansible_plugins/connection_plugins

lookup_plugins     = /usr/share/ansible_plugins/lookup_plugins

vars_plugins       = /usr/share/ansible_plugins/vars_plugins

filter_plugins     = /usr/share/ansible_plugins/filter_plugins

[paramiko_connection]

[ssh_connection]

[accelerate]

accelerate_port = 5099

accelerate_timeout = 30

accelerate_connect_timeout = 5.0

accelerate_daemon_timeout = 30

  

生產環境中jenkins主機ansible配置如下