Skip to content

Commit

Permalink
make 'latest' work (closes: geerlingguy#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni Mueller committed Oct 3, 2024
1 parent f31113d commit bcaa346
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/setup-Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
state: present
when: jenkins_version is defined and specific_version.stat.exists

- name: Ensure the Apt cache is up-to-date
apt:
update_cache: yes
when: jenkins_package_state == "latest"

- name: Ensure Jenkins is installed.
apt:
name: jenkins
Expand Down

0 comments on commit bcaa346

Please sign in to comment.