We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fcdd2c commit d15ee6fCopy full SHA for d15ee6f
1 file changed
ansible/roles/testlists/tasks/main.yml
@@ -80,6 +80,14 @@
80
register: user_gid
81
changed_when: false
82
83
+- name: Make containerd use nftables backend
84
+ ansible.builtin.lineinfile:
85
+ path: /etc/containerd/config.toml
86
+ line: 'firewall-backend="nftables"'
87
+ state: present
88
+ notify:
89
+ - restart docker
90
+
91
- name: Ensure testlists is running
92
community.docker.docker_container:
93
env:
@@ -100,7 +108,8 @@
100
108
user: "{{user_uid.stdout}}:{{user_gid.stdout}}"
101
109
# use network mode = host to allow traffic from testlists to the statsd exporter without
102
110
# creating a network with redirection rules to match the ports
103
- network_mode: host
111
+ ports:
112
+ - "80:80"
104
113
volumes:
105
114
- /var/lib/ooniapi:/var/lib/ooniapi
106
115
tags:
0 commit comments