From 127201559fda7b2fa978149ebf2cc3930fe3aa78 Mon Sep 17 00:00:00 2001 From: Matthew Pherigo Date: Sat, 14 Jun 2014 19:31:45 -0500 Subject: [PATCH] [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. --- library/packaging/openbsd_pkg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/library/packaging/openbsd_pkg b/library/packaging/openbsd_pkg index a987c5829ad..b8527ab004a 100644 --- a/library/packaging/openbsd_pkg +++ b/library/packaging/openbsd_pkg @@ -53,6 +53,13 @@ EXAMPLES = ''' # Make sure nmap is not installed - 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.