cas 发表于 2015-9-16 08:48:44

ansible使用8

production                # inventory file for production servers  stage                     # inventory file for stage environment
  
  group_vars/
  group1               # here we assign variables to particular groups
  group2               # ""
  host_vars/
  hostname1            # if systems need specific variables, put them here
  hostname2            # ""
  
  library/                  # if any custom modules, put them here (optional)
  filter_plugins/         # if any custom filter plugins, put them here (optional)
  
  site.yml                  # master playbook
  webservers.yml            # playbook for webserver tier
  dbservers.yml             # playbook for dbserver tier
  
  roles/
  common/               # this hierarchy represents a "role"
  tasks/            #

  main.yml      #
页: [1]
查看完整版本: ansible使用8