mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
pipx: add doc example (#8792)
This commit is contained in:
parent
e3a3c6d58f
commit
3607e3d012
1 changed files with 11 additions and 0 deletions
|
@ -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 }}"
|
||||
'''
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue