community.general/tests/integration/targets/pipx/tasks/testcase-7497.yml
patchback[bot] 0dfa80d386
[PR #10822/0911db45 backport][stable-11] pipx: review tests (#10824)
pipx: review tests (#10822)

(cherry picked from commit 0911db457e)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-09-13 10:30:52 +02:00

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