/
packages.yml
67 lines (52 loc) · 2.16 KB
/
packages.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
# .. _golang__ref_packages:
# Go packages
# ===========
# The ``golang__*_packages`` default variables define what Go packages should
# be installed by the :ref:`debops.golang` role.
# .. Check the role documentation for examples and configuration syntax.
# .. contents::
# :local:
#
# .. include:: ../../../../../includes/global.rst
# .. include:: ../../includes/defaults-packages.rst
# .. envvar:: golang__default_packages [[[
#
# List of default Go packages to install, defined by the role.
golang__default_packages:
# The Go environment will be installed if no dependent Go packages are defined
- name: 'golang-go'
apt_packages: 'golang-go'
state: '{{ "ignore" if golang__dependent_packages|d() else "present" }}'
# ]]]
# .. envvar:: golang__packages [[[
#
# List of Go packages to install on all hosts in Ansible inventory.
golang__packages: []
# ]]]
# .. envvar:: golang__group_packages [[[
#
# List of Go packages to install on a group of hosts in Ansible inventory.
golang__group_packages: []
# ]]]
# .. envvar:: golang__host_packages [[[
#
# List of Go packages to install on specific hosts in Ansible inventory.
golang__host_packages: []
# ]]]
# .. envvar:: golang__dependent_packages [[[
#
# List of Go packages to install specified by other Ansible roles.
golang__dependent_packages: []
# ]]]
# .. envvar:: golang__combined_packages [[[
#
# List of Go packages which combines all other lists and is used in the role
# tasks.
golang__combined_packages: '{{ golang__default_packages
+ golang__dependent_packages
+ golang__packages
+ golang__group_packages
+ golang__host_packages }}'
# ]]]