Merge "Cleanup Nova console proxy git repos before updating it"
This commit is contained in:
commit
1fc45e5465
@ -0,0 +1,8 @@
|
||||
---
|
||||
upgrade:
|
||||
- Cleanup tasks are added to remove the nova console git
|
||||
directories ``/usr/share/novnc`` and ``/usr/share/spice-html5``,
|
||||
prior to cloning these inside the nova vnc and spice
|
||||
console playbooks. This is necessary to guarantee
|
||||
that local modifications do not break git clone
|
||||
operations, especially during upgrades.
|
@ -13,6 +13,14 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Remove old git directory
|
||||
file:
|
||||
path: "/usr/share/novnc"
|
||||
state: "absent"
|
||||
tags:
|
||||
- nova-install
|
||||
- nova-novnc-git
|
||||
|
||||
- name: Get package from git
|
||||
git:
|
||||
repo: "{{ nova_novncproxy_git_repo }}"
|
||||
|
@ -45,6 +45,13 @@
|
||||
- nova-apt-packages
|
||||
- nova-spice-apt-packages
|
||||
|
||||
- name: Remove old git directory
|
||||
file:
|
||||
path: "/usr/share/spice-html5"
|
||||
state: "absent"
|
||||
tags:
|
||||
- nova-spice-git
|
||||
|
||||
- name: Get package from git
|
||||
git:
|
||||
repo: "{{ nova_spicehtml5_git_repo }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user