initial commit of stackdriver logging role for GCP

This commit is contained in:
Eric Anderson 2020-04-24 15:54:06 -07:00
commit 42a304bdda
16 changed files with 282 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# {{ ansible_managed }}
{% if stackdriver_http_proxy is defined %}
export http_proxy="{{ stackdriver_http_proxy }}"
{% endif %}
{% if stackdriver_https_proxy is defined %}
export https_proxy="{{ stackdriver_https_proxy }}"
{% endif %}
export no_proxy==169.254.169.254

View file

@ -0,0 +1,11 @@
# {{ ansible_managed }}
{% for source in item.sources %}
<source>
@type tail
format {{ source.format }}
path {{ source.path }}
pos_file {{ source.pos_file }}
read_from_head {{ source.read_from_head|string|lower }}
tag {{ source.tag }}
</source>
{% endfor %}