Ensure apt-transport-https is present before installing from secure repos
Most hosts will have apt-transport-https installed already, however this should ensure that those that do not will successfully install the MariaDB packages hosted on an HTTPS repository Change-Id: I8e2dc51a74c9ea3baf3f095f4243d598b6298f05 Closes-Bug: #1547541
This commit is contained in:
parent
bc4b9ffd6b
commit
b5b767a5aa
|
@ -14,4 +14,3 @@
|
|||
# TODO(odyssey4me) remove this once https://review.openstack.org/288634 has merged
|
||||
# and the disk images are rebuilt and redeployed.
|
||||
curl
|
||||
apt-transport-https
|
||||
|
|
|
@ -13,6 +13,12 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Ensure host can talk to HTTPS apt repos
|
||||
apt:
|
||||
pkg: "apt-transport-https"
|
||||
state: latest
|
||||
update_cache: yes
|
||||
|
||||
- name: Add galera apt-keys
|
||||
apt_key:
|
||||
id: "{{ item.hash_id }}"
|
||||
|
|
Loading…
Reference in New Issue