Skip to content

Commit

Permalink
Fix issue with ubuntu not shipped with wget by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fidanf committed Sep 22, 2021
1 parent a79cb57 commit 7348afb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
- php-pear
state: present

- name: Ensure wget is present
apt:
name: wget
state: present

roles:
- name: geerlingguy.nodejs
vars:
Expand Down
4 changes: 3 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@

- name: Configure wget
import_tasks: _wget.yml
when: proxy_configure_wget
when:
- proxy_configure_wget
- '"wget" in apt_packages'
tags: ['wget']

- name: Configure Git
Expand Down

0 comments on commit 7348afb

Please sign in to comment.