File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed
templates/etc/apache2/sites-available Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change 1
1
{# vim: foldmarker=[[[,]]]:foldmethod=marker
2
- # Copyright [[[
3
2
# Commonly used set of macros in DebOps.
4
3
# It can be included in repositories as needed.
5
- # Changes to this file should go upstream: FIXME
4
+ # Changes to this file should go upstream: https://github.com/debops/debops-playbooks/blob/master/templates/debops__tpl_macros.j2
5
+ #
6
+ # Copyright [[[
7
+ # =============
6
8
#
7
- # Copyright (C) 2014-2016 Maciej Delmanowski <[email protected] >
9
+ # Copyright (C) 2014-2017 Maciej Delmanowski <[email protected] >
8
10
# Copyright (C) 2015-2017 Robin Schneider <[email protected] >
9
11
# Copyright (C) 2014-2017 DebOps https://debops.org/
10
12
#
21
23
#
22
24
# You should have received a copy of the GNU General Public License
23
25
# along with DebOps. If not, see https://www.gnu.org/licenses/.
26
+ #
27
+ # ]]]
28
+ #
29
+ # Usage [[[
30
+ # =========
31
+ #
32
+ # Copy the template file into your ./templates/ path of a role where it fits
33
+ # best. You can/might need to use symlinks to make the macros available from
34
+ # different paths in your ./templates/ hierarchy.
35
+ #
36
+ # Make sure to retain the filename of this file so that automatic updates of
37
+ # this file can be implemented.
38
+ #
39
+ # To use the macros in your own template, this file needs to be included like so:
40
+ #
41
+ # {% import 'debops__tpl_macros.j2' as debops__tpl_macros with context %}
42
+ #
43
+ # Then you can start using the macros like this:
44
+ #
45
+ # {{ debops__tpl_macros.indent(some_content, 4) }}
46
+ #
24
47
# ]]] #}
25
48
26
49
{% macro get_yaml_list_for_elem (list_or_elem ) %} {# [[[ #}
You can’t perform that action at this time.
0 commit comments