1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #8792/3607e3d0 backport][stable-9] pipx: add doc example (#8799)

pipx: add doc example (#8792)

(cherry picked from commit 3607e3d012)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2024-08-26 11:35:18 +02:00 committed by GitHub
parent 5e1be68b01
commit 1a48ebd699
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -163,6 +163,17 @@ EXAMPLES = '''
community.general.pipx:
name: pycowsay
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 }}"
'''