[PR #8792/3607e3d0 backport][stable-8] pipx: add doc example (#8800)
pipx: add doc example (#8792)
(cherry picked from commit 3607e3d012
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
pull/8816/head
parent
a3c5cc6773
commit
4f5a50642d
|
@ -157,6 +157,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 }}"
|
||||
'''
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue