Skip to content

Commit 4a525e3

Browse files
authored
Merge pull request #402 from tobiashuste/daemon-options
Fix molecule docker startup for Debian and Ubuntu 20.04
2 parents 6b32dc8 + 5574f4b commit 4a525e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

molecule/gitlab_runner/converge.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
- name: "Converge"
88
hosts: "all"
99
tasks:
10+
- name: "Set Docker daemon options for Ubuntu 20.04 and Debian"
11+
ansible.builtin.set_fact:
12+
docker_daemon_options:
13+
ipv6: false
14+
ip6tables: false
15+
when: "(ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04') or
16+
ansible_distribution == 'Debian'"
17+
1018
- name: "Include gitlab_runner role"
1119
ansible.builtin.include_role:
1220
name: "hifis.toolkit.gitlab_runner"

0 commit comments

Comments
 (0)