Skip to content

Commit

Permalink
Make apt install state configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Nov 16, 2016
1 parent 8c63f17 commit da65410
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: install | dependencies
apt:
name: "{{ item }}"
state: latest
state: "{{ apt_install_state | default('latest') }}"
update_cache: true
cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}"
with_items: "{{ r_dependencies }}"
Expand All @@ -14,7 +14,7 @@
- name: install | additional
apt:
name: "{{ item }}"
state: latest
state: "{{ apt_install_state | default('latest') }}"
with_items: "{{ r_install }}"
tags:
- r-install-additional

0 comments on commit da65410

Please sign in to comment.