summaryrefslogtreecommitdiffstats
path: root/test/schemas/test/roles/foo/meta/main.yml
blob: b84b10c9c70b8028b614ac46433e9178f6faddd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
collections:
  - foo.bar
dependencies:
  - name: ansible-role-foo
    version: "1.0"
  - name: ansible-role-bar
    version: "1.0"
  # from Bitbucket
  - src: git+http://bitbucket.org/willthames/git-ansible-galaxy
    version: v1.4

  # from Bitbucket, alternative syntax and caveats
  - src: http://bitbucket.org/willthames/hg-ansible-galaxy
    scm: hg

  # from galaxy
  - src: community.molecule

  # from GitHub
  - src: https://github.com/bennojoy/nginx

  # from GitHub, overriding the name and specifying a specific tag
  - src: https://github.com/bennojoy/nginx
    version: master
    name: nginx_role

  # from GitLab or other git-based scm
  - src: git@gitlab.company.com:my-group/my-repo.git
    scm: git
    version: "0.1" # quoted, so YAML doesn't parse this as a floating-point value

  # from a web server, where the role is packaged in a tar.gz
  - src: https://some.webserver.example.com/files/master.tar.gz
    name: http-role

galaxy_info:
  author: John Doe
  company: foo
  description: foo
  license: MIT
  min_ansible_version: "2.9"
  # standalone: true
  platforms:
    - name: Alpine
      versions:
        - all