]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-common: update_cache whenever a new deb repo is added
authorAlfredo Deza <adeza@redhat.com>
Thu, 1 Nov 2018 18:48:06 +0000 (14:48 -0400)
committerSébastien Han <seb@redhat.com>
Mon, 5 Nov 2018 12:31:54 +0000 (13:31 +0100)
commit21f9126fc416281e3d88c03f7028c8214ce724a5
tree07f805209569713377b420c7f91900fe5cfbd0de
parented1d53b2f8a61b62c47795c90fe64b9bb9de7cc0
ceph-common: update_cache whenever a new deb repo is added

The use of a handler meant that the cache would be updated at the very
end of the play, which doesn't work when adding a development repo and
trying to install right after it. This mostly reverts
53cdddf88699263763b36643565e5f846d9d13a8 without an actual `git revert`
because that caused other conflicts.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
roles/ceph-common/handlers/main.yml [deleted file]
roles/ceph-common/tasks/installs/debian_community_repository.yml
roles/ceph-common/tasks/installs/debian_dev_repository.yml
roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install_debian.yml
roles/ceph-common/tasks/installs/prerequisite_rhcs_iso_install_debian.yml