We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edc3e19 + ed5b03d commit b3254c3Copy full SHA for b3254c3
.github/workflows/test-roles.yml
@@ -1,7 +1,8 @@
1
---
2
name: Test roles
3
4
-on: # yamllint disable-line rule:truthy
+on:
5
+ workflow_dispatch:
6
push:
7
branches: [main]
8
paths:
devenv.nix
@@ -60,5 +60,13 @@
60
61
mkdir -p $ANSIBLE_ROLES_PATH
62
mkdir -p $ANSIBLE_COLLECTIONS_PATH
63
+
64
+ export ANSIBLE_ROLES_PATH=$ANSIBLE_ROLES_PATH:$PWD/.devenv/ansible/roles
65
66
+ echo $GITHUB_WORKSPACE
67
+ if [ -n "$GITHUB_WORKSPACE" ]; then
68
+ export ANSIBLE_ROLES_PATH=$ANSIBLE_ROLES_PATH:$GITHUB_WORKSPACE/roles
69
+ fi
70
+ echo $ANSIBLE_ROLES_PATH
71
'';
72
}
0 commit comments