2023-11-11 21:29:49 +08:00
|
|
|
- name: Set up runner.j2
|
2023-11-06 10:39:27 +08:00
|
|
|
template:
|
|
|
|
src: "conf/runner.j2"
|
|
|
|
dest: "{{ docker_dir }}/runner/.runner"
|
|
|
|
owner: 1000
|
|
|
|
group: 1000
|
2023-11-07 17:22:30 +08:00
|
|
|
mode: 0755
|
|
|
|
|
2023-11-10 03:38:57 +08:00
|
|
|
- name: Remove existing daemon.json
|
|
|
|
file:
|
|
|
|
path: "{{ docker_dir }}/runner/daemon.json"
|
|
|
|
state: absent
|
|
|
|
become: true
|
|
|
|
|
2023-11-07 17:22:30 +08:00
|
|
|
- name: Set up Docker daemon configuration file to solve DNS problems
|
|
|
|
template:
|
|
|
|
src: "conf/daemon.json.j2"
|
|
|
|
dest: "{{ docker_dir }}/runner/daemon.json"
|
|
|
|
owner: 1000
|
|
|
|
group: 1000
|
2023-11-06 10:39:27 +08:00
|
|
|
mode: 0755
|