mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-28 15:41:32 -07:00
initial commit of stackdriver logging role for GCP
This commit is contained in:
parent
282f8e3b82
commit
42a304bdda
16 changed files with 282 additions and 0 deletions
|
@ -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
|
11
roles/stackdriver_logging/templates/source.conf
Normal file
11
roles/stackdriver_logging/templates/source.conf
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue