chore: hostname netdata to inventory_hostname

This commit is contained in:
2024-08-19 07:54:05 +00:00
parent 8b78cae9df
commit fbc348b1c2

View File

@@ -3,7 +3,7 @@
community.docker.docker_container:
name: netdata
image: "netdata/netdata:{{ docker_netdata_version }}"
hostname: "{{ ansible_hostname }}"
hostname: "{{ inventory_hostname }}"
restart_policy: always
pid_mode: host
network_mode: host