Skip to content

Commit

Permalink
Consistency changes
Browse files Browse the repository at this point in the history
* Improved apt: state
  • Loading branch information
tersmitten committed Jan 9, 2017
1 parent 09492ce commit b4b88df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tasks/backported-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: install backported kernel
apt:
name: "{{ item }}"
state: latest
state: "{{ apt_install_state | default('latest') }}"
with_items: "{{ docker_backported_kernel_packages }}"
register: backported_kernel_result
tags:
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- name: install dependencies (pre)
apt:
name: "{{ item }}"
state: latest
state: "{{ apt_install_state | default('latest') }}"
with_items: "{{ docker_dependencies_pre }}"
when: item != ''
tags:
Expand All @@ -37,7 +37,7 @@
- name: install dependencies
apt:
name: "{{ item }}"
state: latest
state: "{{ apt_install_state | default('latest') }}"
with_items: "{{ docker_dependencies }}"
notify: restart docker
tags:
Expand Down

0 comments on commit b4b88df

Please sign in to comment.