Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-m-sullivan committed Apr 9, 2023
1 parent 9fb6676 commit 6267568
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci_standalone_versioned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,22 @@ jobs:
- name: Display Versions
run: which python && pip --version && ansible --version

- name: Build and install the collection
uses: redhat-cop/ansible_collections_tooling/actions/build_ansible_collection@main
with:
collection_namespace: infra
collection_name: controller_configuration
collection_version: 2.0.0
collection_repo: https://github.com/redhat-cop/controller_configuration/

- name: "Install Galaxy dependencies"
run: ansible-galaxy collection install -r .github/collections/requirements.yml

- name: "version"
run: ansible --version
- name: "galaxy"
run: ansible-galaxy collection list

- name: "Perform playbook tests"
run: ansible-playbook tests/configure_controller.yml -e controller_hostname=localhost:8043 -v -e awx_version=${{ inputs.awx_version }}

Expand Down
4 changes: 2 additions & 2 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[defaults]
collections_paths=collections
# collections_paths=collections
roles_path=roles/
lookup_plugins=plugins/lookup/
# lookup_plugins=plugins/lookup/

0 comments on commit 6267568

Please sign in to comment.