Skip to content

Commit

Permalink
Clarify comments in the local facts template
Browse files Browse the repository at this point in the history
  • Loading branch information
ganto committed May 19, 2017
1 parent 6a5c4f5 commit 4d0e8ca
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions templates/etc/ansible/facts.d/checkmk_server.fact.j2
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{#
# Create a facts file with the sites hosted on the involved host.
# Create a facts file containing the sites hosted on the involved host.
#
# Distributed slaves sites are defined on the master server, therefore
# it may happen, that the facts file is merged from multiple configuration
# sources. Sites which are about to be deleted must not be listed in the
# resulting facts file.
# Distributed slaves sites are defined in the inventory of the master server,
# therefore it may happen, that the facts file is merged from multiple
# configuration sources (inventory from master host and local facts from
# slave host).
#
# Sites which are about to be deleted must not be listed in the resulting
# facts file.
#}
{% set _site_facts = {} %}
{% if (site_item.delegate_to in hostvars) and
Expand Down

0 comments on commit 4d0e8ca

Please sign in to comment.