Wire up --skip-tags to the overcloud upgrade cli

This is already wired into the ansible-action [1] so this review just
adds skip_tags to the update_nodes workflow which calls that
action. There is a related review in the tripleoclient
Ie7fb8d9a388c6d53a31800406b03ddb8ed426401 that exposes
--skip-tags to the operator and passes it here, and that review
will depend on this one.

[1]  4739027b9e/tripleo_common/actions/ansible.py (L259)
Change-Id: I8544de64d3307e3dc925c1cecf2d9156e31d25a8
(cherry picked from commit dcc73a9856)
This commit is contained in:
mandreou 2018-03-12 13:06:50 +02:00 committed by Athlan-Guyot sofer
parent 1d84c1447f
commit 311db03df3

View File

@ -111,6 +111,7 @@ workflows:
ANSIBLE_HOST_KEY_CHECKING: 'False' ANSIBLE_HOST_KEY_CHECKING: 'False'
- verbosity: 1 - verbosity: 1
- work_dir: /var/lib/mistral - work_dir: /var/lib/mistral
- skip_tags: ''
tags: tags:
- tripleo-common-managed - tripleo-common-managed
@ -144,6 +145,7 @@ workflows:
module_path: <% $.module_path %> module_path: <% $.module_path %>
queue_name: <% $.ansible_queue_name %> queue_name: <% $.ansible_queue_name %>
execution_id: <% execution().id %> execution_id: <% execution().id %>
skip_tags: <% $.skip_tags %>
on-success: on-success:
- node_update_passed: <% task().result.returncode = 0 %> - node_update_passed: <% task().result.returncode = 0 %>
- node_update_failed: <% task().result.returncode != 0 %> - node_update_failed: <% task().result.returncode != 0 %>