Skip to content

Commit 4be4427

Browse files
committed
fix: move debug flag after the subcommand
1 parent 556221b commit 4be4427

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/import-ansible-role.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
echo "owner: $ROLE_GIT_OWNER"
4141
echo "current branch: $BRANCH_NAME"
4242
echo "project name: $PROJECT_NAME"
43-
ansible-galaxy $ANSIBLE_GALAXY_ROLE_DEBUG role info $ANSIBLE_GALAXY_ROLE_NAME
43+
ansible-galaxy $ANSIBLE_GALAXY_ROLE_DEBUG role info $ANSIBLE_GALAXY_ROLE_DEBUG $ANSIBLE_GALAXY_ROLE_NAME
4444
- name: Import role to Ansible Galaxy
4545
if: ${{ github.ref_name == env.VERSION_FILE_CONTENT }}
4646
run: |
4747
PROJECT_NAME="${ROLE_GIT_REPO##*/}"
48-
ansible-galaxy $ANSIBLE_GALAXY_ROLE_DEBUG role import --branch $BRANCH_NAME $ROLE_GIT_OWNER $PROJECT_NAME
48+
ansible-galaxy role import $ANSIBLE_GALAXY_ROLE_DEBUG --branch $BRANCH_NAME $ROLE_GIT_OWNER $PROJECT_NAME

0 commit comments

Comments
 (0)