9912b049e9
This change creates a role using the podman content from THT[0]. This role will run through all of the tasks found within the THT file, and implements molecule tests coving the functionality. Test Matrix: - default - Runs through the role top to bottom - install - Runs only the install portions of the role - login - Runs only the login portion of the role [0] - https://github.com/openstack/tripleo-heat-templates/blob/master/deployment/podman/podman-baremetal-ansible.yaml Task: 34598 Task: 34600 Task: 34601 Story: 2006017 Change-Id: Ia7fd611320d2f29b330a04484dca3146d74d8d82 Signed-off-by: Kevin Carter <kecarter@redhat.com>
26 lines
792 B
YAML
26 lines
792 B
YAML
---
|
|
# Copyright 2019 Red Hat, Inc.
|
|
# All 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.
|
|
|
|
|
|
- name: Podman prune
|
|
become: true
|
|
block:
|
|
- name: Clean podman images
|
|
command: podman image prune -a
|
|
|
|
- name: Clean podman volumes
|
|
command: podman volume prune -f
|