Merge pull request #1036 from analbeard/master

forced an apt-get update prior to installing any packages from Ceph r…
pull/1039/head
Leseb 2016-10-18 13:52:08 +02:00 committed by GitHub
commit 0cda86b1dc
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
- name: install ceph - name: install ceph
apt: apt:
name: "{{ item }}" name: "{{ item }}"
update_cache: yes
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" 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 ''}}" 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}}" with_items: "{{debian_ceph_packages}}"