Skip to content

Commit

Permalink
Adding modules directly
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 committed Aug 28, 2024
1 parent 622e328 commit cc55350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Test_installation_assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
echo "COMPOSITE_NAME=$COMPOSITE_NAME" >> $GITHUB_ENV
- name: Install Ansible
run: sudo apt-get update && sudo apt-add-repository ppa:ansible/ansible && sudo apt install -y ansible
run: sudo apt-get update && sudo apt install software-properties-common && sudo add-apt-repository --yes --update ppa:ansible/ansible && sudo apt install -y ansible

- name: Set up AWS credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ansible-playbooks/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
# ---------------------------------------------------------------------

- name: Install required dependencies YUM
package:
ansible.builtin.yum:
name: "{{ rpm_deps }}"
state: present
when: ansible_os_family == 'RedHat'

# ---------------------------------------------------------------------

- name: Install required dependencies APT
package:
ansible.builtin.apt:
name: "{{ apt_deps }}"
state: present
update_cache: yes
Expand All @@ -74,7 +74,7 @@
- ansible_distribution == "Ubuntu"

- name: Install Python3.9 on Ubuntu Jammy
package:
ansible.builtin.apt:
name:
- python3.9
- python3.9-distutils
Expand Down

0 comments on commit cc55350

Please sign in to comment.