Skip to content

Commit

Permalink
Using package module
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcr01 committed Aug 28, 2024
1 parent 1e37109 commit d4c26b0
Showing 1 changed file with 3 additions and 3 deletions.
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
ansible.builtin.dnf:
ansible.builtin.package:
name: "{{ rpm_deps }}"
state: present
when: ansible_os_family == 'RedHat'

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

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

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

0 comments on commit d4c26b0

Please sign in to comment.