运维网's Archiver
论坛
›
ansible/Chef
› 我的第一个ansible脚本
lmwtzw6u5l0
发表于 2018-1-3 13:44:05
我的第一个ansible脚本
cat install.yml
---
- name: install
hosts: test
tasks:
- name: install softs
apt: name={{item}} state=present force=yes
with_items:
- zip
- make
- name: create dir
file: path=/tmp/ansible mode=0755 state=directory
页:
[1]
查看完整版本:
我的第一个ansible脚本