mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 15:04:02 -07:00
pipx: review tests (#10822)
(cherry picked from commit 0911db457e
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
27 lines
638 B
YAML
27 lines
638 B
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
- name: ensure application conan is uninstalled
|
|
community.general.pipx:
|
|
name: conan
|
|
state: absent
|
|
|
|
- name: Install conan
|
|
community.general.pipx:
|
|
name: conan
|
|
state: present
|
|
system_site_packages: true
|
|
pip_args: "--no-cache-dir"
|
|
register: install_conan
|
|
|
|
- name: cleanup conan
|
|
community.general.pipx:
|
|
name: conan
|
|
state: absent
|
|
|
|
- name: check assertions
|
|
assert:
|
|
that:
|
|
- install_conan is changed
|