Skip to content

Commit

Permalink
Run "apt-get update" before installing ruby (Debian)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincoakley committed May 15, 2020
1 parent aabf835 commit 5d9c68a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
state: present
when: ansible_os_family == "RedHat"

- name: Run "apt-get update" (Debian)
apt:
update_cache: true
when: ansible_os_family == "Debian"

- name: Download and install Ruby (Debian)
package:
name: ruby
Expand Down

0 comments on commit 5d9c68a

Please sign in to comment.