摘要:        
1.开启SSH长连接 ssh_args = -C -o ControlMaster=auto -o ControlPersist=1d \\连接保持一天 2.开启pipelining ansible执行tasks的过程: 1>ansible根据选择的模块生成临时的Python脚本 2>他将所生成的脚    阅读全文
posted @ 2018-11-04 18:12
littlevigra
阅读(751)
评论(1)
推荐(0)
        
            
        
        
摘要:        
cat /etc/ansible/hosts [nodes]10.2.1.232 key=23210.2.1.43 key=43 cat debug.yaml name: test how to use command module hosts: nodes remote_user: root ga    阅读全文
posted @ 2018-11-04 16:44
littlevigra
阅读(639)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号