Skip to content

Commit

Permalink
test ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhanasand committed Feb 10, 2025
1 parent 9f494ab commit 4dc0272
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ jobs:
[galaxy]
server_list = artifactory_collections
[galaxy_server.artifactory_collections]
url = https://{{ jfrog_id }}.jfrog.io/artifactory/api/ansible/collections/
url = https://$JFROG_ID.jfrog.io/artifactory/api/ansible/collections/
EOL
cat > inventory.ini <<EOL
Expand All @@ -453,11 +453,12 @@ jobs:
tasks:
- name: Download a file via Artifactory proxy
ansible.builtin.get_url:
url: "https://{{ JFROG_EMAIL }}:{{ JFROG_TOKEN }}@{{ JFROG_ID }}.jfrog.io/artifactory/github/eirikhanasand/lsm/blob/main/README.md"
url: "https://$JFROG_EMAIL:$JFROG_TOKEN@$JFROG_ID.jfrog.io/artifactory/github/eirikhanasand/lsm/blob/main/README.md"
dest: ./README.md
EOL
ansible-playbook -i inventory.ini test_proxy.yml -e "JFROG_ID=$JFROG_ID" -e "JFROG_EMAIL=$JFROG_EMAIL" -e "JFROG_TOKEN=$JFROG_TOKEN"
# Runs the playbook with proxy settings
ansible-playbook -i inventory.ini test_proxy.yml
- name: test_bower
run: |
Expand Down

0 comments on commit 4dc0272

Please sign in to comment.