e519bed497
This PS fixes tools/airship script that uses deprecated distutils python module. The deprecation message "distutils Version classes are deprecated" breaks tools/airship script logic. Change-Id: I7aa8b9ce0d7af26bf82e6e2a7f2fa19b5169aff5
30 lines
934 B
YAML
30 lines
934 B
YAML
# Copyright 2018 AT&T Intellectual Property. All other rights reserved.
|
|
#
|
|
# 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.
|
|
|
|
- hosts: all
|
|
roles:
|
|
- bindep
|
|
- clear-firewall
|
|
- ensure-docker
|
|
- ensure-python
|
|
- ensure-pip
|
|
|
|
tasks:
|
|
- name: Install Packaging python module for tools/airship
|
|
block:
|
|
- pip:
|
|
name: packaging
|
|
version: 23.1
|
|
executable: pip3
|
|
become: True |