Skip to content

Commit

Permalink
Add configure ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaffieri committed Dec 23, 2024
1 parent 8bbcce3 commit 865eb4f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/offline-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ jobs:
python3 -m pip install --upgrade pip
echo PATH=$PATH >> $GITHUB_ENV
- name: Install Ansible
run: pip install ansible-core==2.16

- name: Set up AWS credentials
uses: aws-actions/configure-aws-credentials@v3
with:
Expand Down Expand Up @@ -160,6 +157,13 @@ jobs:
echo "[gha_instance]" > $ALLOCATOR_PATH/inventory
echo "$ansible_host ansible_port=$ansible_port ansible_user=$ansible_user ansible_ssh_private_key_file=$ansible_ssh_private_key_file ansible_ssh_common_args='$ansible_ssh_common_args'" >> $ALLOCATOR_PATH/inventory
- name: Install Ansible
run: pip install ansible-core==2.16

- name: configure ansible
run: |
ansible-galaxy collection install community.general
- name: Execute provision playbook
run: |
INSTALL_DEPS=true
Expand Down

0 comments on commit 865eb4f

Please sign in to comment.