0
0
opnxng-deploy-playbook/config-tasks/runner.yaml
2024-06-06 23:52:16 +08:00

21 lines
564 B
YAML

- name: Set up runner.j2
template:
src: "conf/runner.j2"
dest: "{{ docker_dir }}/runner/.runner"
owner: 1000
group: 1000
mode: 0755
- name: Remove existing daemon.json
file:
path: "{{ docker_dir }}/runner/daemon.json"
state: absent
become: true
- 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
mode: 0755