mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Can override each role's install path
Defaults to the system wide `roles-path` when `path` is not specified in the provided `role-file`. An example installing nginx to a relative path specified by the `role-file`. - src: https://github.com/bennojoy/nginx path: vagrant/roles/
This commit is contained in:
parent
a419ffdf41
commit
44b0ee5322
2 changed files with 12 additions and 1 deletions
|
@ -69,6 +69,10 @@ And here's an example showing some specific version downloads from multiple sour
|
|||
# from github
|
||||
- src: https://github.com/bennojoy/nginx
|
||||
|
||||
# from github installing to a relative path
|
||||
- src: https://github.com/bennojoy/nginx
|
||||
path: vagrant/roles/
|
||||
|
||||
# from github, overriding the name and specifying a specific tag
|
||||
- src: https://github.com/bennojoy/nginx
|
||||
name: nginx_role
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue