From f1efe06e99510a8548cf0efc2be42258acea557f Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 22 May 2023 15:39:09 +0200 Subject: [PATCH] ci/cd - fix /opt/actions-runner perms for self-hosted runners --- docs/assets/img/integration-ansible.svg | 5 +---- docs/assets/img/integration-linux.svg | 5 +---- tests/ansible/autoconf_playbook | 2 +- tests/ansible/docker_playbook | 2 +- tests/ansible/linux_playbook | 2 +- tests/ansible/swarm_playbook | 2 +- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/docs/assets/img/integration-ansible.svg b/docs/assets/img/integration-ansible.svg index 18cf91235..c41117d5f 100644 --- a/docs/assets/img/integration-ansible.svg +++ b/docs/assets/img/integration-ansible.svg @@ -1,4 +1 @@ - - - -

LINUX MACHINE

LINUX MACHINE
WEB SERVICES
WEB SERVICES
INTERNAL TRAFFIC
(same machine)
INTERNAL TRAFFIC...
INCOMING TRAFFIC
INCOMING TRAFFIC
INTERNAL TRAFFIC
(other machines)
INTERNAL TRAFFIC...
ANSIBLE ROLEINSTALLATION + CONFIGURATION
Text is not SVG - cannot display
\ No newline at end of file + \ No newline at end of file diff --git a/docs/assets/img/integration-linux.svg b/docs/assets/img/integration-linux.svg index b638fa28b..f0c8821a0 100644 --- a/docs/assets/img/integration-linux.svg +++ b/docs/assets/img/integration-linux.svg @@ -1,4 +1 @@ - - - -

LINUX MACHINE

LINUX MACHINE
WEB SERVICES
WEB SERVICES
INTERNAL TRAFFIC
(same machine)
INTERNAL TRAFFIC...
DEB/RPM
INSTALL
DEB/RPM...
INCOMING TRAFFIC
INCOMING TRAFFIC
INTERNAL TRAFFIC
(other machines)
INTERNAL TRAFFIC...
FILE+SYSTEMD
CONFIGURATION
FILE+SYS...
Text is not SVG - cannot display
\ No newline at end of file + \ No newline at end of file diff --git a/tests/ansible/autoconf_playbook b/tests/ansible/autoconf_playbook index 39dd3ecc5..74d1c6e59 100644 --- a/tests/ansible/autoconf_playbook +++ b/tests/ansible/autoconf_playbook @@ -38,4 +38,4 @@ ansible.builtin.pause: seconds: 60 - name: Restart GH runner - shell: systemctl restart actions.runner.* + shell: chown -R user:user /opt/actions-runner/ && systemctl restart actions.runner.* diff --git a/tests/ansible/docker_playbook b/tests/ansible/docker_playbook index b297bd15c..36c15d4a3 100644 --- a/tests/ansible/docker_playbook +++ b/tests/ansible/docker_playbook @@ -38,4 +38,4 @@ ansible.builtin.pause: seconds: 60 - name: Restart GH runner - shell: systemctl restart actions.runner.* + shell: chown -R user:user /opt/actions-runner/ && systemctl restart actions.runner.* diff --git a/tests/ansible/linux_playbook b/tests/ansible/linux_playbook index e5daa8394..73717f4ea 100644 --- a/tests/ansible/linux_playbook +++ b/tests/ansible/linux_playbook @@ -38,4 +38,4 @@ ansible.builtin.pause: seconds: 60 - name: Restart GH runner - shell: systemctl restart actions.runner.* + shell: chown -R user:user /opt/actions-runner/ && systemctl restart actions.runner.* diff --git a/tests/ansible/swarm_playbook b/tests/ansible/swarm_playbook index 03e86f713..eb55c2a19 100644 --- a/tests/ansible/swarm_playbook +++ b/tests/ansible/swarm_playbook @@ -49,4 +49,4 @@ ansible.builtin.pause: seconds: 60 - name: Restart GH runner - shell: systemctl restart actions.runner.* + shell: chown -R user:user /opt/actions-runner/ && systemctl restart actions.runner.*