--- - name: configure debian repository installation include: configure_debian_repository_installation.yml when: - ceph_origin == 'repository' - name: install dependencies apt: name: "{{ item }}" state: present update_cache: yes cache_valid_time: 3600 with_items: "{{ debian_package_dependencies }}" - name: update apt cache apt: update_cache: yes - name: install ceph debian packages include: install_debian_packages.yml when: - (ceph_origin == 'repository' or ceph_origin == 'distro') - ceph_repository != 'rhcs' - name: install ceph rhcs debian packages include: install_debian_rhcs_packages.yml when: - (ceph_origin == 'repository' or ceph_origin == 'distro') - ceph_repository == 'rhcs'