ceph-ansible/roles/ceph-common/tasks/installs
Matthew Vernon a4d75c6ea6 UCA: Uncomment UCA variables in defaults, fix consequent breakage
The Ubuntu Cloud Archive-related (UCA) defaults in
roles/ceph-defaults/defaults/main.yml were commented out, which means
if you set `ceph_repository` to "uca", you get undefined variable
errors, e.g.

```
The task includes an option with an undefined variable. The error was: 'ceph_stable_repo_uca' is undefined

The error appears to have been in '/nfs/users/nfs_m/mv3/software/ceph-ansible/roles/ceph-common/tasks/installs/debian_uca_repository.yml': line 6, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: add ubuntu cloud archive repository
  ^ here

```

Unfortunately, uncommenting these results in some other breakage,
because further roles were written that use the fact of
`ceph_stable_release_uca` being defined as a proxy for "we're using
UCA", so try and install packages from the bionic-updates/queens
release, for example, which doesn't work. So there are a few `apt` tasks
that need modifying to not use `ceph_stable_release_uca` unless
`ceph_origin` is `repository` and `ceph_repository` is `uca`.

Closes: #3475
Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
(cherry picked from commit 9dd913cf8a)
2019-04-10 03:50:27 +00:00
..
configure_debian_repository_installation.yml lint yaml 2018-10-30 14:41:36 +01:00
configure_redhat_local_installation.yml retry on packages and repositories failures 2018-12-19 14:48:27 +00:00
configure_redhat_repository_installation.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
configure_suse_repository_installation.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
debian_community_repository.yml lint: Remote package tasks should have a retry 2018-12-20 11:06:09 +01:00
debian_custom_repository.yml lint yaml: remove blank lines 2018-10-31 15:04:40 +00:00
debian_dev_repository.yml ceph-common: update_cache whenever a new deb repo is added 2018-11-05 13:31:54 +01:00
debian_rhcs_repository.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
debian_uca_repository.yml retry on packages and repositories failures 2018-12-19 14:48:27 +00:00
install_debian_packages.yml UCA: Uncomment UCA variables in defaults, fix consequent breakage 2019-04-10 03:50:27 +00:00
install_debian_rhcs_packages.yml retry on packages and repositories failures 2018-12-19 14:48:27 +00:00
install_on_clear.yml lint: Remote package tasks should have a retry 2018-12-20 11:06:09 +01:00
install_on_debian.yml lint: Remote package tasks should have a retry 2018-12-20 11:06:09 +01:00
install_on_redhat.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
install_on_suse.yml lint: Remote package tasks should have a retry 2018-12-20 11:06:09 +01:00
install_redhat_packages.yml retry on packages and repositories failures 2018-12-19 14:48:27 +00:00
install_suse_packages.yml retry on packages and repositories failures 2018-12-19 14:48:27 +00:00
prerequisite_rhcs_cdn_install.yml common: Use rhsm_repository module for RHCS 2019-03-07 19:15:42 +00:00
prerequisite_rhcs_cdn_install_debian.yml lint: Remote package tasks should have a retry 2018-12-20 11:06:09 +01:00
prerequisite_rhcs_iso_install.yml lint: Remote package tasks should have a retry 2018-12-20 11:06:09 +01:00
prerequisite_rhcs_iso_install_debian.yml lint: Remote package tasks should have a retry 2018-12-20 11:06:09 +01:00
redhat_community_repository.yml ceph-common: Install yum plugin priorities 2019-03-16 06:24:55 +00:00
redhat_custom_repository.yml common: refactor installation method 2017-08-30 10:52:01 +02:00
redhat_dev_repository.yml Use the CentOS repo for Red Hat dev packages 2018-04-09 10:05:57 +02:00
redhat_rhcs_repository.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
suse_obs_repository.yml ceph-common: Add initial support for openSUSE Leap distributions 2017-11-14 10:51:22 +00:00