Debian Codegraph @

examples/roles/dependency_in_meta/meta/main.yml

raw
1 ---
2 # meta file, determined by ending in meta/main.yml
3 # https://docs.ansible.com/projects/ansible/latest/playbook_guide/playbooks_reuse_roles.html#role-dependencies
4 allow_duplicates: true
5 dependencies:
6 # from Bitbucket
7 - src: git+http://bitbucket.org/willthames/git-ansible-galaxy
8 version: v1.4
9
10 # from Bitbucket, alternative syntax and caveats
11 - src: http://bitbucket.org/willthames/hg-ansible-galaxy
12 scm: hg
13
14 # from galaxy
15 - src: yatesr.timezone
16
17 # from GitHub
18 - src: https://github.com/bennojoy/nginx
19
20 # from GitHub, overriding the name and specifying a specific tag
21 - src: https://github.com/bennojoy/nginx
22 version: master
23 name: nginx_role
24
25 # from GitLab or other git-based scm
26 - src: [email protected]:my-group/my-repo.git
27 scm: git
28 version: "0.1" # quoted, so YAML doesn't parse this as a floating-point value
29
30 # from a webserver, where the role is packaged in a tar.gz
31 - src: https://some.webserver.example.com/files/master.tar.gz
32 name: http-role
33
34 galaxy_info:
35 standalone: true
36 author: foo
37 description: Testing meta
38 company: Not applicable
39 license: MIT
40 min_ansible_version: "2.5"
41 platforms:
42 - name: Fedora