Remove cloud-init update bits

For TLS everywhere, a newer cloud-init package was needed. This is
already available in CentOS 7.4, so we don't need to update the package
if we're using this version.

Change-Id: I7b7a46e2fbba348e467304e2323cdd79d2efb3eb
Closes-Bug: #1717846
This commit is contained in:
Juan Antonio Osorio Robles 2017-09-18 08:39:19 +03:00
parent 10c1683242
commit e1bac00346
2 changed files with 0 additions and 24 deletions

View File

@ -1,6 +1,3 @@
- include: update-cloud-init.yml
when: enable_tls_everywhere|bool
- include: create-scripts.yml
tags:
- undercloud-scripts

View File

@ -1,21 +0,0 @@
# Updates the cloud-init package in the overcloud images, since it's needed for
# novajoin/TlS-everywhere to properly work. This is currently a workaround
# until the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1420946 is
# available in CentOS.
- name: Fetch cloud-init package
get_url:
url: http://66.187.229.139/test/cloud-init-0.7.6-9.el7.x86_64.rpm
dest: "{{ working_dir }}/cloud-init-0.7.6-9.el7.x86_64.rpm"
mode: 0755
- name: Update cloud-init from the overcloud-full image
include_role:
name: modify-image
vars:
image_to_modify: "{{ working_dir }}/overcloud-full.qcow2"
modify_image_upload_files:
- src: "{{ working_dir }}/cloud-init-0.7.6-9.el7.x86_64.rpm"
dest: /root/cloud-init-0.7.6-9.el7.x86_64.rpm
modify_image_install_packages:
- '/root/cloud-init-0.7.6-9.el7.x86_64.rpm'