ceph-ansible/roles/ceph-common/tasks/installs/debian_uca_repository.yml

13 lines
366 B
YAML

---
- name: add ubuntu cloud archive key package
package:
name: ubuntu-cloud-keyring
register: result
until: result is succeeded
- name: add ubuntu cloud archive repository
apt_repository:
repo: "deb {{ ceph_stable_repo_uca }} {{ ceph_stable_release_uca }} main"
state: present
update_cache: no
notify: update apt cache if a repo was added