mirror of https://github.com/ceph/ceph-ansible.git
forced an apt-get update prior to installing any packages from Ceph repos
parent
869c287331
commit
6adab85df2
|
@ -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}}"
|
||||||
|
|
Loading…
Reference in New Issue