Drop pip-conf-removal task

This task was essential for migration from R->S as we were
migrtating from usage of wheels stored on repo server to
usage of python_venv_build role. This task is not relevant now
and can be dropped. Moreover it makes upgrade script re-run fail
during S->T upgrade when upgrade playbook failed first time before
finishing setup_hosts playbook (creating all required containers).

Change-Id: Ice98040e529f21c7369df45b020b284c959d9c8c
This commit is contained in:
Dmitriy Rabotyagov 2019-12-09 13:49:00 +02:00
parent 396cb8a9fc
commit 88bb4d33d9
2 changed files with 0 additions and 24 deletions

View File

@ -168,7 +168,6 @@ function main {
bootstrap_ansible
pushd ${MAIN_PATH}/playbooks
RUN_TASKS+=("${SCRIPTS_PATH}/upgrade-utilities/pip-conf-removal.yml")
RUN_TASKS+=("${SCRIPTS_PATH}/upgrade-utilities/deploy-config-changes.yml")
# we don't want to trigger container restarts for galera and rabbit
# but as there will be no hosts available for metal deployments,

View File

@ -1,23 +0,0 @@
# Copyright 2015, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Remove pip.conf if found
hosts: all
gather_facts: true
user: root
tasks:
- name: Remove pip.conf
file:
path: "{{ ansible_env.HOME }}/.pip/pip.conf"
state: "absent"