ansible角色不运行主剧本
site.ymlansible角色不运行主剧本,ansible,Ansible,site.yml name: setup basic packages hosts: all user: root roles:test --- - 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' --- - name: th
name: setup basic packages
hosts: all
user: root
roles:test
---
- 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'
---
- name: this is a loose task
shell: echo 'this is a loose task'
感谢您的帮助site.yml
name: setup basic packages
hosts: all
user: root
roles:test
---
- 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'
---
- name: this is a loose task
shell: echo 'this is a loose task'