Skip to content

Commit

Permalink
netdata: template docker socket proxy ENVs
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Dec 2, 2022
1 parent 3ab37e0 commit 37ccde8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions roles/netdata/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
# GNU General Public License v3.0 #
##########################################################################
---
################################
# Docker Socket Proxy
################################

netdata_docker_socket_proxy_envs:
CONTAINERS: "1"

################################
# Basics
################################
Expand Down
3 changes: 1 addition & 2 deletions roles/netdata/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
name: docker_socket_proxy
vars:
docker_socket_proxy_name: "netdata-docker-socket-proxy"
docker_socket_proxy_docker_envs_custom:
CONTAINERS: "1"
docker_socket_proxy_docker_envs_custom: "{{ netdata_docker_socket_proxy_envs }}"

- name: Remove existing Docker container
ansible.builtin.include_tasks: "{{ resources_tasks_path }}/docker/remove_docker_container.yml"
Expand Down

0 comments on commit 37ccde8

Please sign in to comment.