1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix formatting issues

This commit is contained in:
Aneesh Joseph 2016-07-24 01:01:47 +05:30 committed by GitHub
parent 0907c178bb
commit 8a1fd73798

View file

@ -72,22 +72,24 @@ Installing Multiple Roles From Multiple Files
=============================================
At a basic level, including requirements files allows you to break up bits of configuration policy into smaller files. Role includes pull in roles from other files.
::
ansible-galaxy install -r requirements.yml
ansible-galaxy install -r requirements.yml
Content of requirements.yml
::
# from github
- src: yatesr.timezone
# from galaxy
- src: yatesr.timezone
- include: webserver.yml
- include: webserver.yml
Content of the webserver.yml file.
::
# from github
- src: https://github.com/bennojoy/nginx
# from github
- src: https://github.com/bennojoy/nginx
# from github installing to a relative path
- src: https://github.com/bennojoy/nginx
# from github installing to a relative path
- src: https://github.com/bennojoy/nginx
path: vagrant/roles/
Advanced Control over Role Requirements Files