This repository has been archived on 2020-08-28. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-laptop/roles/docker/tasks/config.yml

10 lines
288 B
YAML
Raw Normal View History

2019-05-05 13:34:01 +02:00
---
2020-04-14 22:48:54 +02:00
- name: Add IPv6 NAT iptables rules
shell: ip6tables -t nat -A POSTROUTING -s fd00:d0ce:d0ce:d0ce::/64 -j MASQUERADE && ip6tables-save > /etc/iptables/rules.v6
2019-05-05 13:34:01 +02:00
- name: add docker configuration
copy:
dest: /etc/docker/daemon.json
src: daemon.json
notify: restart-docker