Skip to content

Commit

Permalink
Merge pull request #3 from kkonnov/change_package_state
Browse files Browse the repository at this point in the history
changed package state to present
  • Loading branch information
UnderGreen committed Aug 17, 2016
2 parents d05e105 + fb47614 commit cf50e6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---

barman_package_state: present

barman_packages:
- barman
- bzip2
Expand Down
2 changes: 1 addition & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
- name: install required barman packages
apt:
pkg: "{{ item }}"
state: latest
state: "{{ barman_package_state }}"
with_items: "{{ barman_packages }}"

0 comments on commit cf50e6c

Please sign in to comment.