1

网站.yml

  name: setup basic packages
  hosts: all
  user: root

  roles:test

./test/tasks/main.yml

  name: this is a loose task
  shell: echo 'this is a loose task'

任何帮助表示赞赏

4

1 回答 1

0

网站.yml

---
- name: setup basic packages
  hosts: all
  user: root

  roles:test

角色/测试/任务/main.yml

---
- name: this is a loose task
  shell: echo 'this is a loose task'
于 2013-06-29T09:20:39.623 回答