There was an error while loading. Please reload this page.
1 parent 556221b commit 4be4427Copy full SHA for 4be4427
1 file changed
.github/workflows/import-ansible-role.yml
@@ -40,9 +40,9 @@ jobs:
40
echo "owner: $ROLE_GIT_OWNER"
41
echo "current branch: $BRANCH_NAME"
42
echo "project name: $PROJECT_NAME"
43
- ansible-galaxy $ANSIBLE_GALAXY_ROLE_DEBUG role info $ANSIBLE_GALAXY_ROLE_NAME
+ ansible-galaxy $ANSIBLE_GALAXY_ROLE_DEBUG role info $ANSIBLE_GALAXY_ROLE_DEBUG $ANSIBLE_GALAXY_ROLE_NAME
44
- name: Import role to Ansible Galaxy
45
if: ${{ github.ref_name == env.VERSION_FILE_CONTENT }}
46
run: |
47
PROJECT_NAME="${ROLE_GIT_REPO##*/}"
48
- ansible-galaxy $ANSIBLE_GALAXY_ROLE_DEBUG role import --branch $BRANCH_NAME $ROLE_GIT_OWNER $PROJECT_NAME
+ ansible-galaxy role import $ANSIBLE_GALAXY_ROLE_DEBUG --branch $BRANCH_NAME $ROLE_GIT_OWNER $PROJECT_NAME
0 commit comments