File permission config.yaml
fix issue with file permissions, allowing act-runner to read config file.
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
owner: "{{ item.user }}"
|
owner: "{{ item.user }}"
|
||||||
group: "{{ item.user }}"
|
group: "{{ item.user }}"
|
||||||
mode: 0655
|
mode: 0755
|
||||||
loop:
|
loop:
|
||||||
- { "path": "/etc/act_runner/", "user": "act-runner" }
|
- { "path": "/etc/act_runner/", "user": "act-runner" }
|
||||||
- { "path":"/var/lib/act_runner", "user":"act-runner" }
|
- { "path":"/var/lib/act_runner", "user":"act-runner" }
|
||||||
@@ -45,9 +45,9 @@
|
|||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: act_config.yaml
|
src: act_config.yaml
|
||||||
dest: /etc/act_runner/config.yaml
|
dest: /etc/act_runner/config.yaml
|
||||||
owner: root
|
owner: act-runner
|
||||||
group: root
|
group: act-runner
|
||||||
mode: 0655
|
mode: 0766
|
||||||
|
|
||||||
- name: Copy service file
|
- name: Copy service file
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|||||||
Reference in New Issue
Block a user