Skip to content

Commit

Permalink
test connection
Browse files Browse the repository at this point in the history
  • Loading branch information
mtarking committed Apr 11, 2024
1 parent 43f8d92 commit 032cd47
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,17 @@ jobs:
- name: Check Ansible Collection List
run: ansible-galaxy collection list

- name: Run playbook
- name: Test Connection to NDFC
env:
NDFC_HOST: ${{ secrets.NDFC_HOST }}
NDFC_USER: ${{ secrets.NDFC_USER }}
NDFC_PASS: ${{ secrets.NDFC_PASS }}
run: ansible-playbook -i ansible-dc-vxlan-example/inventory.yml ansible-dc-vxlan-example/vxlan.yml -vvv
NDFC_HOST: ${{ secrets.NDFC_IP }}
run: curl --insecure -I https://"$NDFC_HOST"

# - name: Run playbook
# env:
# NDFC_HOST: ${{ secrets.NDFC_HOST }}
# NDFC_USER: ${{ secrets.NDFC_USER }}
# NDFC_PASS: ${{ secrets.NDFC_PASS }}
# run: ansible-playbook -i ansible-dc-vxlan-example/inventory.yml ansible-dc-vxlan-example/vxlan.yml -vvv

# - name: Build a nac-dc-vxlan collection tarball
# run: ansible-galaxy collection build

0 comments on commit 032cd47

Please sign in to comment.