-
-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdata: allow customizing netdata.conf, allow custom host domain
- use netdata.conf.j2 to template the netdata.conf file - allow custom files to be templated - mount netdata.conf file into docker container - mount dbengine volume in container to allow history retention when rebuiliding container - allow custom volumes to be mounted in the container - add `ansible_nas_domain_root` variable used as netdata hostname when you have multiple nas servers this allows you to properly name the server in netdata. example: - `ansible_nas_hostname`: nas - `ansible_nas_domain`: nas.domain.tld - `ansible_nas_domain_root`: domain.tld original netdata hostname: nas.nas.domain.tld new netdata hostname: nas.domain.tld
- Loading branch information
Showing
4 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,7 @@ ansible_nas_email: [email protected] | |
|
||
# Applications will have subdomain SSL certificates created if Traefik is enabled, e.g. ansible-nas.<your-domain>, nextcloud.<your-domain> | ||
ansible_nas_domain: example.com | ||
ansible_nas_domain_root: "{{ ansible_nas_domain }}" | ||
|
||
### | ||
### Samba | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{% for key in netdata_config %} | ||
[{{ key }}] | ||
{# { netdata_config[[key][0]]|join("\n") } #} | ||
{% endfor %} |