Skip to content

Commit 1fdc4a4

Browse files
evgeniehelms
authored andcommitted
allow ansible for vagrant
this is not a bug per-se, but our tests require to run ansible as non-root and fapolicyd forbids that
1 parent 0c11a65 commit 1fdc4a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
if: matrix.security == 'fapolicyd'
8181
run: |
8282
vagrant ssh --command "echo 'allow perm=any pattern=ld_so exe=/usr/bin/crun : path=/usr/lib64/libsystemd.so.0' | sudo tee -a /etc/fapolicyd/rules.d/15-foremanctl.rules" quadlet
83+
vagrant ssh --command "echo 'allow perm=any all : dir=/home/vagrant/.ansible/tmp/' | sudo tee -a /etc/fapolicyd/rules.d/15-foremanctl.rules" quadlet
8384
vagrant ssh quadlet -- sudo systemctl restart fapolicyd
8485
- name: Run image pull
8586
run: |

0 commit comments

Comments
 (0)