261732aa18
Follows the same linting configuration that was implemented first in
tripleo-quickstart-extras which makes used of pre-commit tool for
managing all linters.
This also avoids problems where a new linter release may break our
gates because pre-commit always pins versions.
Removes ansible from requirements.txt as it needs to be listed only
in ansible-requirements.txt
Change-Id: Ia229d3d58763d743bd19ad9099d7907561f3c77f
Depends-On: https://review.openstack.org/#/c/627186/
(cherry picked from commit 8ac74a8177
)
19 lines
519 B
YAML
19 lines
519 B
YAML
---
|
|
- name: create undercloud update script
|
|
template:
|
|
src: "{{ undercloud_update_template }}"
|
|
dest: "{{ undercloud_update_script }}"
|
|
mode: 0775
|
|
force: true
|
|
|
|
- name: create scripts with workarounds
|
|
template:
|
|
src: "{{ update_workarounds_template }}"
|
|
dest: "{{ working_dir }}/{{ item.script }}"
|
|
mode: 0755
|
|
force: true
|
|
with_items:
|
|
- '{{ pre_undercloud_update_workarounds|default([]) }}'
|
|
- '{{ post_undercloud_update_workarounds|default([]) }}'
|
|
when: updates_workarounds|bool
|