[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.
reviewable/pr18780/r1
Matthew Pherigo 11 years ago
parent de94863eb1
commit 09e7cc2aa6

@ -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.

Loading…
Cancel
Save