diff --git a/roles/gitea_runner/files/config.yml b/roles/gitea_runner/files/config.yml index bd7abba..641665f 100644 --- a/roles/gitea_runner/files/config.yml +++ b/roles/gitea_runner/files/config.yml @@ -41,7 +41,7 @@ cache: container: # Which network to use for the job containers. Could be bridge, host, none, # or the name of a custom network. - network_mode: bridge + network: bridge # Whether to use privileged mode or not when launching task containers # (privileged mode is required for Docker-in-Docker). privileged: false diff --git a/roles/gitea_runner/tasks/main.yml b/roles/gitea_runner/tasks/main.yml index 740a914..9a6eedb 100644 --- a/roles/gitea_runner/tasks/main.yml +++ b/roles/gitea_runner/tasks/main.yml @@ -30,7 +30,7 @@ "-" + ansible_system | lower + "-amd64" }} dest: /usr/local/bin/act_runner - mode: 0755 + mode: "0755" owner: root group: "{{ ansible_wheel }}" notify: Restart act_runner @@ -39,7 +39,7 @@ ansible.builtin.file: path: /var/lib/act_runner state: directory - mode: 0750 + mode: "0750" owner: root group: act_runner @@ -56,7 +56,7 @@ ansible.builtin.copy: dest: /var/lib/act_runner/config.yml src: config.yml - mode: 0640 + mode: "0640" owner: root group: act_runner notify: Restart act_runner @@ -65,7 +65,7 @@ ansible.builtin.file: path: /var/lib/act_runner/.cache state: directory - mode: 0770 + mode: "0770" owner: root group: act_runner notify: Restart act_runner @@ -74,7 +74,7 @@ ansible.builtin.copy: dest: /etc/systemd/system/act_runner.service src: act_runner.service - mode: 0644 + mode: "0644" owner: root group: root