mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
[openbsd-pkg] Add note regarding package flavors
This adds a note to the openbsd-pkg module which explains how to specify package flavors as well as how to avoid ambiguity errors on a package with multiple flavors. Technically, this is not Ansible-specific, but it's pretty likely the user will encounter this problem.
This commit is contained in:
@@ -53,6 +53,13 @@ EXAMPLES = '''
|
|||||||
|
|
||||||
# Make sure nmap is not installed
|
# Make sure nmap is not installed
|
||||||
- openbsd_pkg: name=nmap state=absent
|
- openbsd_pkg: name=nmap state=absent
|
||||||
|
|
||||||
|
# Specify a pkg flavour with '--'
|
||||||
|
- openbsd_pkg: name=vim--nox11 state=present
|
||||||
|
|
||||||
|
# Getting ambiguity errors?
|
||||||
|
# Specify the default flavour:
|
||||||
|
- openbsd_pkg: name=vim-- state=present
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# Control if we write debug information to syslog.
|
# Control if we write debug information to syslog.
|
||||||
|
|||||||
Reference in New Issue
Block a user