tripleo-quickstart-extras/roles/standalone-upgrade/tasks/main.yml
Sorin Sbarnea 72141b7fab Adopt yamllint strict linting
Upgrades yamllint to latest version and adots use of its strict
checking.

Fix all known problems reported by yamllint so we don't have to do
that while touching these files.

Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-11-26 12:37:21 +00:00

32 lines
1015 B
YAML

---
# tasks file for all_in_one upgrade
# standalone params
- name: Create the standalone params for upgrade
template:
src: "{{ standalone_config }}"
dest: "{{ working_dir}}/standalone_parameters_upgrade.yaml"
mode: 0755
- name: Create container parameters script for upgrade
template:
src: "{{ standalone_container_prep_script }}"
dest: "{{ working_dir }}/standalone-container-prep-upgrade.sh"
mode: "0755"
- name: Run container prepare for upgrade
shell: >
set -o pipefail &&
{{ working_dir }}/standalone-container-prep-upgrade.sh 2>&1 {{ timestamper_cmd }} > {{ working_dir }}/{{ standalone_container_prep_log }}
- name: Create the upgrade command for standalone
template:
src: "{{ standalone_upgrade_script }}"
dest: "{{ working_dir}}/standalone-upgrade.sh"
mode: 0755
- name: Upgrade the standalone
shell: >
set -o pipefail &&
{{ working_dir }}/standalone-upgrade.sh 2>&1 {{ timestamper_cmd }} > {{ working_dir }}/{{ standalone_upgrade_log }}