ceph-ansible/roles/ceph-common/tasks/installs
Matthew Vernon a8c9b65d13 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-09 16:54:37 +00:00
..
configure_debian_repository_installation.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
configure_redhat_local_installation.yml common: refactor installation method 2017-08-30 10:52:01 +02: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 Move apt cache update to individual task per role 2018-05-03 14:02:15 +02:00
debian_custom_repository.yml Move apt cache update to individual task per role 2018-05-03 14:02:15 +02:00
debian_dev_repository.yml Move apt cache update to individual task per role 2018-05-03 14:02:15 +02:00
debian_rhcs_repository.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
debian_uca_repository.yml Move apt cache update to individual task per role 2018-05-03 14:02:15 +02:00
install_debian_packages.yml UCA: Uncomment UCA variables in defaults, fix consequent breakage 2019-04-09 16:54:37 +00:00
install_debian_rhcs_packages.yml Install packages as a list 2018-05-16 09:59:00 +02:00
install_on_clear.yml Add clearlinux to supported platforms 2017-04-24 09:34:23 -05:00
install_on_debian.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
install_on_redhat.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
install_on_suse.yml don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
install_redhat_packages.yml Fix package state for upgrades on SuSE/RHEL 2018-06-27 18:55:22 +00:00
install_suse_packages.yml Fix package state for upgrades on SuSE/RHEL 2018-06-27 18:55:22 +00:00
prerequisite_rhcs_cdn_install.yml ceph-common: fix rhcs condition 2018-07-04 17:17:21 +02:00
prerequisite_rhcs_cdn_install_debian.yml Enable monitor repo for mgr nodes and Tools repo for iscsi/nfs/clients 2018-06-29 18:09:26 +00:00
prerequisite_rhcs_iso_install.yml common: copy iso files if rolling_update 2018-05-03 17:18:55 +02:00
prerequisite_rhcs_iso_install_debian.yml Move apt cache update to individual task per role 2018-05-03 14:02:15 +02:00
redhat_community_repository.yml nfs: move repository configuration in ceph-nfs role 2017-10-10 11:35:58 +02: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