forced an apt-get update prior to installing any packages from Ceph repos

pull/1036/head
Simon Weald 2016-10-17 15:37:26 +01:00
parent 869c287331
commit 6adab85df2
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
- name: install ceph
apt:
name: "{{ item }}"
update_cache: yes
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
default_release: "{{ ceph_stable_release_uca | default(ansible_distribution_release) }}{{ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else ''}}"
with_items: "{{debian_ceph_packages}}"