gitea_runner: Update config to latest version

This commit is contained in:
Timo Makinen 2023-10-12 18:41:57 +00:00
parent 86a7b60b46
commit 1e973b3dde
2 changed files with 6 additions and 6 deletions

View file

@ -41,7 +41,7 @@ cache:
container: container:
# Which network to use for the job containers. Could be bridge, host, none, # Which network to use for the job containers. Could be bridge, host, none,
# or the name of a custom network. # or the name of a custom network.
network_mode: bridge network: bridge
# Whether to use privileged mode or not when launching task containers # Whether to use privileged mode or not when launching task containers
# (privileged mode is required for Docker-in-Docker). # (privileged mode is required for Docker-in-Docker).
privileged: false privileged: false

View file

@ -30,7 +30,7 @@
"-" + ansible_system | lower + "-amd64" "-" + ansible_system | lower + "-amd64"
}} }}
dest: /usr/local/bin/act_runner dest: /usr/local/bin/act_runner
mode: 0755 mode: "0755"
owner: root owner: root
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"
notify: Restart act_runner notify: Restart act_runner
@ -39,7 +39,7 @@
ansible.builtin.file: ansible.builtin.file:
path: /var/lib/act_runner path: /var/lib/act_runner
state: directory state: directory
mode: 0750 mode: "0750"
owner: root owner: root
group: act_runner group: act_runner
@ -56,7 +56,7 @@
ansible.builtin.copy: ansible.builtin.copy:
dest: /var/lib/act_runner/config.yml dest: /var/lib/act_runner/config.yml
src: config.yml src: config.yml
mode: 0640 mode: "0640"
owner: root owner: root
group: act_runner group: act_runner
notify: Restart act_runner notify: Restart act_runner
@ -65,7 +65,7 @@
ansible.builtin.file: ansible.builtin.file:
path: /var/lib/act_runner/.cache path: /var/lib/act_runner/.cache
state: directory state: directory
mode: 0770 mode: "0770"
owner: root owner: root
group: act_runner group: act_runner
notify: Restart act_runner notify: Restart act_runner
@ -74,7 +74,7 @@
ansible.builtin.copy: ansible.builtin.copy:
dest: /etc/systemd/system/act_runner.service dest: /etc/systemd/system/act_runner.service
src: act_runner.service src: act_runner.service
mode: 0644 mode: "0644"
owner: root owner: root
group: root group: root