xian123 发表于 2018-1-3 06:40:23

Ansible的Inventory管理

  
host1
  
host2
  

  

  
host2
  
host3
  

  

  
atlanta
  
raleigh
  

  
    #定义组的主机的参数
  ansible_port=3235
  
some_server=foo.southeast.example.com
  
halon_system_timeout=30
  
self_destruct_countdown=60
  
escape_pods=2
  mysql_port=3307
  

  

  
southeast
  
northeast
页: [1]
查看完整版本: Ansible的Inventory管理