pipx: add doc example (#8792)

pull/8795/head
Alexei Znamensky 2024-08-24 17:14:13 +12:00 committed by GitHub
parent e3a3c6d58f
commit 3607e3d012
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 0 deletions

View File

@ -163,6 +163,17 @@ EXAMPLES = '''
community.general.pipx: community.general.pipx:
name: pycowsay name: pycowsay
state: absent state: absent
- name: Install multiple packages from list
vars:
pipx_packages:
- pycowsay
- black
- tox
community.general.pipx:
name: "{{ item }}"
state: latest
with_items: "{{ pipx_packages }}"
''' '''