ef15456503
Up to now, the minor updates workarounds was not being used very much being a little bit left away in comparision with what it was implemented for the upgrades one. This patch allows minor updates to benefit from the same workarounds mechanism, at the same time that any improvement in the upgrades mechanism will be available for updates too. Also, it was removed the references to the {{ working_dir }} variable in those shell tasks which have the argument changing directory to that very same {{ working_dir }}, mostly to simplify the tasks and remove redundancy. Change-Id: Ibc57c51ff19ebad093c887bee545ca6a7d51827f
19 lines
471 B
YAML
19 lines
471 B
YAML
---
|
|
- name: create undercloud update script
|
|
template:
|
|
src: "{{ undercloud_update_template }}"
|
|
dest: "{{ undercloud_update_script }}"
|
|
mode: 0775
|
|
force: true
|
|
|
|
- name: create update workaround scripts for undercloud
|
|
template:
|
|
src: workarounds.sh.j2
|
|
dest: "{{ working_dir }}/{{ item }}.sh"
|
|
mode: 0775
|
|
force: true
|
|
loop:
|
|
- 'pre_undercloud_update_workarounds'
|
|
- 'post_undercloud_update_workarounds'
|
|
when: updates_workarounds|bool
|