aboutsummaryrefslogtreecommitdiff
path: root/ansible/plays
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-09-29 08:31:41 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-09-29 08:31:41 +0200
commitbfffb5e3ca2d548064a783a8800ee3a829d50d17 (patch)
tree8eba5df29fb2e3efa1d96f481e23f4c8d7d48e66 /ansible/plays
parent6789ad3b07faeac7f8e62fa265ee2a7650f489ae (diff)
downloadinfra-bfffb5e3ca2d548064a783a8800ee3a829d50d17.tar.gz
infra-bfffb5e3ca2d548064a783a8800ee3a829d50d17.tar.bz2
infra-bfffb5e3ca2d548064a783a8800ee3a829d50d17.tar.xz
infra-bfffb5e3ca2d548064a783a8800ee3a829d50d17.zip
prometheus+grafana
Diffstat (limited to 'ansible/plays')
-rw-r--r--ansible/plays/host-hash.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/plays/host-hash.yml b/ansible/plays/host-hash.yml
new file mode 100644
index 0000000..62b781f
--- /dev/null
+++ b/ansible/plays/host-hash.yml
@@ -0,0 +1,10 @@
+- hosts: hash
+ tasks:
+ - become: yes
+ copy:
+ dest: /etc/docker/daemon.json
+ content: |
+ {
+ "ipv6": true,
+ "fixed-cidr-v6": "{{ ipam6.networks.hash_docker_dn42.range }}"
+ }