blob: 4abba23194a3ca0bc9d693a1b51b524584119ff6 (
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
|
---
# https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#role-dependencies
dependencies:
- role: foo
tags: fruit # simple string allowed
- role: bar
tags: # array of strings allowed
- apple
- orange
- role: requires_sudo
become: true
- role: role_with_condition
when: inventory_hostname == "foo"
- role: another_role
# https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#passing-different-parameters
something_that_counts_as_role_parameter: ...
vars:
"foo": bar
galaxy_info:
author: John Doe
standalone: true
description: foo
license: MIT
min_ansible_version: "2.10"
platforms: []
|