shenyg 发表于 2018-1-2 19:20:02

ansible-palybook

---  
- hosts: nginx
  tasks:
  - name: "install httpd"
  yum: name={{ item }} state=present
  with_items:
  - httpd
  - httpd-devel
  - name: "chckonfig"
  service: name=httpd state=started enabled=yes
页: [1]
查看完整版本: ansible-palybook