At the moment we do install EPEL repo in multiple other roles, like
lxc_hosts or systemd_mount. We're trying to be consistent in ways
of adding them, while ceph_client was slightly different, by carrying on
GPG keys in-repo instead of fetching them from `centos_epel_key` url.
With this patch we unify approach with other roles and reducing
maintenance costs of the repo when adding new distributions
Change-Id: I407256dc6eee3365c4f8c191a1f50717f0b35fa8
Related-Bug: #2013276
We've missed adding a GPG key that's required for installing
packages for RHEL9 distros from EPEL.
Change-Id: I2bef98a695517c038cb9f0dcd09caa16611520b7
Closes-Bug: #2013276
We make remote network hits to get the GPG keys which are quite
unreliable, and apt_key does not support using a proxy properly [1]
so this change installs them from files inside the role.
The implementation here is derived from that which was done in the
galera_server role in I7ac1a5e3a05aa3d0b4fae86c4a325ef147a9a528.
[1] https://github.com/ansible/ansible/issues/31691
Change-Id: Id040de19dbefc820851928c9a3589f20a6b4bd61
Closes-Bug: #1815430